Constucts a new scene node
The name of the new node
Read-only access to the components attached to this node.
Returns whether this node is a leaf, i.e. there are no child nodes attached to it.
Returns whether this is the root node, i.e. it has no parent.
Read-only access to the name of this node.
Read-only access to the child nodes of this node.
Read-only access to the parent node of this node if one exists.
Add a component to this node.
Component to add
Find all components of a specfic type that are registered on this node.
@todo Name of component type to search for
Traverses the node hierarchy starting at this node and applies the given callback to each node.
Function that will be called for each node in the tree.
This class describes a node in a scene hierarchy. To render a scene, a renderer can traverse the hierarchy of SceneNodes, while recursively applying the transformations specfied by each node. Every node contains components that describe the contents of the node, e.g. the contained geometry or the applied transformation.