Node::SetNodeName
Defined in:
Sets the name of a node.
C4Node.hPrototype
void SetNodeName(const char *name);
Parameters
name |
The new node name. This cannot be nullptr.
|
Description
The SetNodeName function sets the name of a node to the string specified by the name parameter. If the node did not previously have a name, then a new property is created in which to store the name, and that property is attached to the node. There is no practical limit to the length of a node name.To remove the name from a node, use the
Node::GetProperty function to get the property having type kPropertyName, and delete it. Do not call SetNodeName with an empty string or nullptr.
See Also
