This page contains reference documentation for the DeleteNode function. This function deletes a node from the scene graph, along with its child nodes.
int DeleteNode( Node NodeToDelete )
Function parameters are as follows:
Examples are as follows:
for( int i = 0; i < Model.GetSelectCount(); ++i )
{
Node node = Model.GetSelectedNode( i ).GetNode();
Model.Deselect( node );
Model.DeleteNode( node );
}
For sample code: