C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::Clone

Defined in:  C4Node.h
Clones a node hierarchy.
Prototype

Node *Clone(voidconst;

Description
The Clone function duplicates a node hierarchy rooted at the node for which this function is called and returns the root of the duplicate node tree. The objects referenced by the nodes in the tree are not duplicated, but are referenced by the duplicate nodes.