Input nodes to react on.
Function to calculate input from output.
Function to calculate input from output.
Emitter emiting events from the computationEvents enum.
Array of all inputEmitters the node has.
Input nodes to react on.
inner property keeping track of the state
Inner property containing the current value of the node.
Handlers to remove on dispose.
Dispose the current node. Each node which extends this class is free to use the active state however it wants.
The BaseComputationNode instance.
Gets the values of all inputs
Helper for extracting the "active" flag from the state property.
Runs after an update is triggered.
Trigger an update of the entire node.
Note: the "changed" event won't be emited if the new value is the same as the old one.
Note: the "updated" event will be emited even if the value is the same as the old one.
Note: both the "updated" and "changed" events will be emitted at the same time.
The LazyComputationNode instance.
Generated using TypeDoc
Base class for any non-input nodes with a "dispose" method.