C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::Disable

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

void Disable(void);

Description
The Disable function disables a node and all of its subnodes. Calling the Disable function is equivalent to setting 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 Disable function. The root node for which the Disable function is called is always disabled regardless of the kNodeDirectEnableOnly flag.
See Also
Node::Enable

Node::GetNodeFlags

Node::SetNodeFlags