Management class for updating nodes. The module tracks metrics like the elapsed time, delta time, the render and frame ID to correctly call the node update methods Node#updateBefore, Node#update and Node#updateAfter depending on the node's configuration.
Constructs a new node fame.
A reference to the current camera.
Default is null.
The delta time in seconds.
Default is 0.
The frame ID.
Default is 0.
A reference to the current material.
Default is null.
A reference to the current 3D object.
Default is null.
The render ID.
Default is 0.
A reference to the current renderer.
Default is null.
A reference to the current scene.
Default is null.
The elapsed time in seconds.
Default is 0.
Used to control the Node#updateAfter call.
Used to control the Node#updateBefore call.
Used to control the Node#update call.
Updates the internal state of the node frame. This method is called by the renderer in its internal animation loop.
This method executes the Node#updateAfter for the given node. It makes sure Node#updateAfterType is honored meaning the update is only executed once per frame, render or object depending on the update type.
node
The node that should be updated.
This method executes the Node#updateBefore for the given node. It makes sure Node#updateBeforeType is honored meaning the update is only executed once per frame, render or object depending on the update type.
node
The node that should be updated.
This method executes the Node#update for the given node. It makes sure Node#updateType is honored meaning the update is only executed once per frame, render or object depending on the update type.
node
The node that should be updated.