NodeData::GetDDescription() Manual
NodeData based classic plugin classes can implement NodeData::GetDDescription() . This allows to dynamically add parameters to the element's parameter description. This description is then used by Cinema 4D to define the parameters that are displayed in the Attribute Manager.
NodeData::GetDDescription() corresponds to C4DAtom::GetDescription() .
当 NodeData::GetDDescription() is called it is supposed to fill the given 描述 对象。
// This example defines the element's parameter description by loading the registered description of the plugin type.// load the description of this type if (description-> LoadDescription (node-> GetType ()) == false ) return false ; flags |= DESCFLAGS_DESC::LOADED ; return SUPER::GetDDescription(node, description, flags); }
The arguments of the function are:
Details on how to handle a 描述 are described in Description Manual and Description Settings Manual .