Difference between revisions of "Delay Value (LogiX node)"
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
If the <code>DelayTime</code> input is increased while a valid <code>Value</code> is provided, the output value will freeze at the most recent output value until sufficient delay has accumulated. The output will be frozen for a number of seconds equal to the new <code>DelayTime</code> - previous <code>DelayTime</code>. e.g. if <code>DelayTime</code> is 1 and then it is instantly increased to 10 the output value will be frozen for 9 seconds. If, instead, the <code>DelayTime</code> value is decreased, the delayed value updates to the correct value immediately. | If the <code>DelayTime</code> input is increased while a valid <code>Value</code> is provided, the output value will freeze at the most recent output value until sufficient delay has accumulated. The output will be frozen for a number of seconds equal to the new <code>DelayTime</code> - previous <code>DelayTime</code>. e.g. if <code>DelayTime</code> is 1 and then it is instantly increased to 10 the output value will be frozen for 9 seconds. If, instead, the <code>DelayTime</code> value is decreased, the delayed value updates to the correct value immediately. | ||
+ | <!--T:6--> | ||
When spawned from the Node Browser this node has a 'dummy' datatype, however it will overload to the correct type if a valid value or reference type input is connected. | When spawned from the Node Browser this node has a 'dummy' datatype, however it will overload to the correct type if a valid value or reference type input is connected. | ||
Line 24: | Line 25: | ||
[[Category:LogiX{{#translation:}}|Delay Value]] | [[Category:LogiX{{#translation:}}|Delay Value]] | ||
− | {{NodeMenu | + | {{:NodeMenu}} |
Latest revision as of 08:08, 19 February 2022
Delay Value | ||
---|---|---|
Inputs | ||
Float | Value | |
Float | DelayTime | |
Outputs | ||
Float | * |
The Delay Value node outputs the value that the Value
input held at a time DelayTime
seconds before hand.
Usage
If the DelayTime
input is increased while a valid Value
is provided, the output value will freeze at the most recent output value until sufficient delay has accumulated. The output will be frozen for a number of seconds equal to the new DelayTime
- previous DelayTime
. e.g. if DelayTime
is 1 and then it is instantly increased to 10 the output value will be frozen for 9 seconds. If, instead, the DelayTime
value is decreased, the delayed value updates to the correct value immediately.
When spawned from the Node Browser this node has a 'dummy' datatype, however it will overload to the correct type if a valid value or reference type input is connected.