C4 Engine
C4 Engine API Documentation

Node::DisableNode

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

virtual void DisableNode(void);

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

Node::EnableNode

Node::GetNodeFlags

Node::SetNodeFlags