C4 Engine
C4 Engine API Documentation

Tree::RemoveSubnode

Defined in:  TSTree.h
Removes a direct subnode of an object.
Prototype

virtual void RemoveSubnode(Tree<type> *node);

Parameters
node A pointer to the subnode to remove.
Description
The RemoveSubnode function removes the node pointed to by the node parameter from an object. The node must be an existing subnode of the object for which RemoveSubnode is called. If the node has any subnodes, then those subnodes remain subnodes of the removed node.
See Also

Tree::AppendSubnode

Tree::GetFirstSubnode

Tree::GetNextTreeNode