Clone Data Member Function

Creates a deep copy of the <Node>. This expression allocates memory, so ownership of the <Node> must be transferred to the Model ( or deleted ) in order to avoid memory leaks.

Prototype

Node Clone( int32 p_bGenGuid )

Parameters

Parameter Type Parameter Name Documentation
int32p_bGenGuidIf true, regenerates the <Node> object's GUID as part of the clone operation.

Examples

Copy Text To Clipboard

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