C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::Enable

Defined in:  C4Node.h
Enables a node tree.
Prototype

void Enable(void);

Description
The Enable function enables a node and all of its subnodes. Calling the Enable function is equivalent to clearing the kNodeDisabled flag for each node in the tree rooted at the node for which it is called.

If any subnode in the tree has the kNodeDirectEnableOnly flag set, then that subnode is not affected by the Enable function. The root node for which the Enable function is called is always enabled regardless of the kNodeDirectEnableOnly flag.
See Also
Node::Disable

Node::GetNodeFlags

Node::SetNodeFlags