AddNode Data Member Function

Adds a <Node> to the scene graph beneath the specified parent, and at the position specified.

Prototype

int32 AddNode( Node p_oNewNode, Group p_oParent, int32 p_nDestChildIndex )

Parameters

Parameter Type Parameter Name Documentation
<Node>p_oNewNodeThe <Node> to add to the scene graph.
<Group>p_oParentThe parent of the new <Node>.
int32p_nDestChildIndexThe 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.