class Node
Defined in: C4Node.h
Every node that belongs to a scene graph is a subclass of the Node class.
Definition
class Node : public Transformable, public UpdatableTree<Node>, public LinkTarget<Node>,
public Packable, public Configurable, public Constructable<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 are represented by subclasses of the Node class such as Geometry or Light. When the Node class itself appears in a world, it simply acts as a grouping mechanism and has the kNodeGroup type.
Base Classes
Transformable |
Holds the object-to-world transform for a node.
|
UpdatableTree<Node> |
Nodes are stored in a hierachical updatable tree.
|
LinkTarget<Node> |
Used internally by the World Manager.
|
Packable |
Nodes can be packed for storage in resources.
|
Configurable |
Nodes can define configurable parameters that are exposed as user interface widgets 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.
|
See Also
Object
Controller
|