Difference between revisions of "Delay With Value (LogiX node)"
(Added information about dummy type) |
(Added note about Updates Delay With Value node) |
||
Line 48: | Line 48: | ||
== Usage == | == Usage == | ||
When spawned from the node browser the Value input and DelayedValue output have an unset dummy data type, the node will recast when a valid input is provided. OnTrigger fires an impulse immediately after an impulse is received at Trigger. The Impulse output provides the delayed impulse - this defaults to firing one frame after the input Trigger impulse is received. The DelayedValue is only equal to the stored value for the time taken for the impulse chain initiated by the delayed Impulse to complete. | When spawned from the node browser the Value input and DelayedValue output have an unset dummy data type, the node will recast when a valid input is provided. OnTrigger fires an impulse immediately after an impulse is received at Trigger. The Impulse output provides the delayed impulse - this defaults to firing one frame after the input Trigger impulse is received. The DelayedValue is only equal to the stored value for the time taken for the impulse chain initiated by the delayed Impulse to complete. | ||
+ | |||
+ | If instead an impulse and value should be delayed for a specified number of frame updates use the [[Updates Delay With Value (LogiX node)|Updates Delay With Value]] node. | ||
== Examples == | == Examples == | ||
Revision as of 19:11, 13 July 2020
The Delay With Value node is used to fire an impulse after the input Delay (in seconds) when an impulse is received at Trigger. When the delayed impulse is fired, the value output by DelayedValue will also be equal to the input Value at the time that the Trigger impulse was received.
Inputs & Outputs
Color | Label | Type |
Trigger | Impulse | |
Delay | Float | |
Value | dummy |
Color | Label | Type |
Impulse | Impulse | |
OnTrigger | Impulse | |
DelayedValue | dummy |
Usage
When spawned from the node browser the Value input and DelayedValue output have an unset dummy data type, the node will recast when a valid input is provided. OnTrigger fires an impulse immediately after an impulse is received at Trigger. The Impulse output provides the delayed impulse - this defaults to firing one frame after the input Trigger impulse is received. The DelayedValue is only equal to the stored value for the time taken for the impulse chain initiated by the delayed Impulse to complete.
If instead an impulse and value should be delayed for a specified number of frame updates use the Updates Delay With Value node.