C4 Engine
C4 Engine API Documentation

Node::EnableNode

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

virtual void EnableNode(void);

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

Node::DisableNode

Node::GetNodeFlags

Node::SetNodeFlags