This page contains reference documentation for the SetActiveParent function. This function sets a group as the active parent in the scene graph.
int SetActiveParent( Group NewParentGroup )
Function parameters are as follows:
Examples are as follows:
// Set the selected group, mesh, or level-of-detail node as Active Parent.
Node node = Model.GetSelectedNode( i ).GetNode();
if( node.IsDerived( Group ) )
{
Model.SetActiveParent ( (Group)node );
}
For sample code: