C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::AddNewSubnode

Defined in:  C4Node.h
Adds a newly created subnode to a node.
Prototype

void AddNewSubnode(Node *node);

Parameters
node A pointer to the subnode to add.
Description
The AddNewSubnode function add the subnode specified by the node parameter to a node and subsequently preprocesses the subnode. Calling AddNewSubnode is equivalent to calling Tree::AddSubnode for the same node object and then calling Node::Preprocess for the node specified by node.
See Also

Tree::AddSubnode

Node::Preprocess