Accumulator
Method #
This node accumulates a value based on the input values, and the specific mode set in the Accumulator Mode attribute. Useful for building counters, or toggle switches.
The output is a numeric value that can be further processed with other modifiers, or directly connected to a parameter in another node, using the operation method selected.
Parameters
These properties control the core behaviours of the node.
Parameter Details
Current Value Shows the current value of the effect. Cannot be directly changed.
Value Base value to modify the output value with.
Accumulator Mode How the accumulator should accumulate values.
- Value Per Second : the value is added
- Value Delta : The difference between the previous value and the new value is added.
- Value : The whole values is on each frame the node is updated.
- Positive Value Delta : only updates with positive value difference between the current frame and the frame before.
Wrap Mode How the accumulator wraps when it meets its max value.
- None : the accumulator continues to add values to itself.
- Clamp To Max : The accumulator is clamped, and no longer adds values.
- Wrap : The value wraps back to 0.
Attack Controls the initial time between the current value to the peak.
Change Threshold Threshold below which new values will not be added to the accumulator.
Scale Adjust the scale/range of the modifier.
Modifier Operation The operation to be performed on the targeted parameter.
- Add : Adds to the parameter value.
- Subtract : Subtracts from the parameter value.
- Multiply : Multiplies the parameter value.
- Replace : Replaces the parameter value.
Max Value Maximum value the accumulator can reach. Only used with “Clamp To Max” or “Wrap” in the Accumulator node.
Inputs
These properties control the core behaviours of the node.
Parameter | Details |
---|---|
Current Value | Shows the current value of the effect. Cannot be directly changed. |
Value | Base value to modify the output value with. |
Accumulator Mode | How the accumulator should accumulate values.
|
Wrap Mode | How the accumulator wraps when it meets its max value.
|
Attack | Controls the initial time between the current value to the peak. |
Change Threshold | Threshold below which new values will not be added to the accumulator. |
Scale | Adjust the scale/range of the modifier. |
Modifier Operation | The operation to be performed on the targeted parameter.
|
Max Value | Maximum value the accumulator can reach. Only used with “Clamp To Max” or “Wrap” in the Accumulator node. |
Name | Description | Typical Input |
---|---|---|
Value | Input a value from another modifier to be modified by this node. | Math Modifier |