Clones the child <Node> objects and transfers ownership of them to the specified <NodeBuffer>.
int32 CloneChildrenToBuffer( TypeInformation p_oTypeInfo, NodeBuffer p_oBuffer, int32 p_bDetach )
Parameter Type | Parameter Name | Documentation |
---|---|---|
TypeInformation | p_oTypeInfo | A <TypeInformation> pointer representing the child type to clone. |
<NodeBuffer> | p_oBuffer | A pointer to a <NodeBuffer>. |
int32 | p_bDetach | If true, detaches the cloned <Node> objects from their parent, which detaches them from the document. Use this if you wish to reparent the <Node> objects under a new parent, or to transfer cloned <Node> objects from one document to another. |
None published. Please look for an example in the Scenome Scripting Language code base.