C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::SetWorld

Defined in:  C4Node.h
Sets the world to which a node belongs.
Prototype

void SetWorld(World *world);

Parameters
world A pointer to the world that owns the node.
Description
The SetWorld function sets the World object to which a node belongs. A node's world pointer is automatically set when a node is added to a tree with the Node::AddNewSubnode function.
See Also

Node::GetWorld

Node::AddNewSubnode

World