updateNodeValue
fun updateNodeValue(node: Node<Any?>, newValue: Any?, internal: Boolean = false, resetting: Boolean = false)(source)
Updates the value of the node in the Timeline, yielding a new frame so long as this is not an internal update.
This will either update the values uf any dependent (child) nodes in the graph, or at the very least mark them dirty so that the values can be updated on-demand.
Parameters
node
The node being updated.
newValue
The new value for the node
behaviorsSampled
A map of the value of any behaviors that were sampled this frame.
internal
Whether or not this is an "internal" update -- i.e. a node that is being updated as an internal implementation detail of some operation, which should not introduce a new frame.