Transfers ownership of a <Node> from the source <NodeBuffer> to this <NodeBuffer>. The owning pointer in the source <NodeBuffer> is replaced with a nullptr, and the overall memory layout of the source <NodeBuffer> does not change. (No deallocation occurs inside the source <NodeBuffer> when the owning pointer is transferred.)
int32 AcquireNode( NodeBuffer src, Node p_oNode )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<NodeBuffer> | src | A pointer to the <NodeBuffer>. |
<Node> | p_oNode | A pointer to the <Node> you wish to transfer to the destination <NodeBuffer>. |
None published. Please look for an example in the Scenome Scripting Language code base.