Properties
.deltaTime : number
The delta time in seconds.
Default is 0.
.frameId : number
The frame ID.
Default is 0.
.renderId : number
The render ID.
Default is 0.
.time : number
The elapsed time in seconds.
Default is 0.
.updateAfterMap : WeakMap.<Node, Object>
Used to control the Node#updateAfter call.
.updateBeforeMap : WeakMap.<Node, Object>
Used to control the Node#updateBefore call.
.updateMap : WeakMap.<Node, Object>
Used to control the Node#update call.
Methods
.update()
Updates the internal state of the node frame. This method is called by the renderer in its internal animation loop.
.updateAfterNode( node : Node )
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. |
.updateBeforeNode( node : Node )
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. |
.updateNode( node : Node )
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. |