|
World Manager
C4Node.h
class Node
Every node that belongs to a scene graph is a subclass of the Node class.
Definition
class Node : public Transformable, public Packable, public Configurable, public Constructable<Node>, public UpdatableTree<Node>, public LinkTarget<Node>
Member Functions
Constructor
Node(NodeType type = kNodeGroup);
Description
The Node class provides the base functionality for all members of the scene graph representing a world. Most nodes in a scene graph are represented by subclasses of the Node class such as Geometry or Light. When the Node class itself appears in a scene graph, it simply acts as a grouping mechanism and has the kNodeGroup type.
Base Classes
Transformable |
Holds the object-to-world transform for a node.
|
Packable |
Nodes can be packed for storage in resources.
|
Configurable |
Nodes can define configurable parameters that are exposed as user interface elements in the World Editor.
|
Constructable<Object> |
New node subclasses may be defined by an application, and a constructor function can be installed using the Constructable class.
|
UpdatableTree<Node> |
Nodes are stored in a hierachical updatable tree.
|
LinkTarget<Node> |
Used internally by the World Manager.
|
See Also
Object
Controller
|