ParentNode Data Member Function

Re-parents a <Node>.

Prototype

int32 ParentNode( Node p_oExistingNode, Group p_oNewParent, int32 p_nChildIndex )

Parameters

Parameter Type Parameter Name Documentation
<Node>p_oExistingNodeA pointer to the <Node> you wish to re-parent.
<Group>p_oNewParentA pointer to the <Group>-derived <Node> that will be the <Node> object's new parent.
int32p_nChildIndexThe index in the parent's child list at which to insert the <Node>.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.