Updates Delay With Value (LogiXノード)
Updates Delay with value | ||
---|---|---|
Inputs | ||
Impulse | Trigger | |
Int | Updates | |
dummy | Value | |
Outputs | ||
Impulse | Impulse | |
Impulse | OnTrigger | |
dummy | DelayedValue |
The Updates Delay with value node is used to fire an impulse from Impulse
after a number of frame updates greater than or equal to Updates
have completed following an impulse received at Trigger
. Additionally a value can be stored over the delay.
Usage
The Updates
input sets the number of frame updats which must complete before the delayed impulse is fired from Impulse
. The default value is 1.
The Value
input value at the moment an impulse is received at Trigger
is stored. When the node is spawned from the node browser this accepts a 'dummy' datatype, however the node will overload to accept any specific input datatype when a wire is connected.
The OnTrigger
output fires an impulse immediately after an impulse is received at Trigger
. This continues the impulse chain which arrived at Trigger
.
The DelayedValue
output provides the value at the Value
input when the delayed impulse was queued. This is only available for the duration of the impulse chain started by Impulse
.
The delayed impulses do not continue the impulse chain which arrived at Trigger
and any temporary values, other than that the single stored value will be lost. Each impulse which arrives at Trigger
sets up a separate delayed impulse with corresponding stored value and multiple can be queued at once with different delay durations and stored values.