Node::UpdateNode
Defined in:
Updates the world transform and dependent information.
C4Node.h
Prototype
void UpdateNode(void);
Description
The UpdateNode
function causes the world transform to be recalculated for a node. When needed, the world-space bounding box and world-space bounding sphere are also recalculated during the update operation.Updating a node causes its entire subtree to be updated, so the
UpdateNode
function should be called only for the highest node in a hierarchy.It is normally not necessary to call the
UpdateNode
function directly because the World Manager automatically updates any invalid nodes when it processes the world before rendering.
See Also