C4 Engine
C4 Engine API Documentation

Node::GetObject

Defined in:  C4Node.h
Returns a node's object.
Prototype

Object *GetObject(voidconst;

Description
The GetObject function returns the primary object referenced by a node. If the node does not reference an object, then the return value is nullptr.

Objects hold data that can be shared among multiple nodes for the purposes of instancing. An object's reference count represents the number of instances of that object in a scene.
See Also

Node::SetObject

Object