NodeFrame

Last modified: Jun 30, 2024

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.

Constructor

new NodeFrame()

Constructs a new node fame.

Properties

PropertyTypeDefault Value
timenumber
deltaTimenumber
frameIdnumber
renderIdnumber
updateMapWeakMap<Node, Object>
updateBeforeMapWeakMap<Node, Object>
updateAfterMapWeakMap<Node, Object>
rendererany
materialany
cameraany
objectany
sceneany
lastTimenumber
MethodType