Difference between revisions of "Delay With Value (LogiX node)"
(Added note about Updates Delay With Value node) |
|||
Line 15: | Line 15: | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| Trigger | | Trigger | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|- | |- | ||
| style="background-color:{{Float-color}}" | | | style="background-color:{{Float-color}}" | | ||
| Delay | | Delay | ||
− | | Float | + | | [[:Category:Types:Float|Float]] |
|- | |- | ||
| style="background-color:{{Dummy-color}}" | | | style="background-color:{{Dummy-color}}" | | ||
Line 35: | Line 35: | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| Impulse | | Impulse | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|- | |- | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| OnTrigger | | OnTrigger | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|- | |- | ||
| style="background-color:{{Dummy-color}}" | | | style="background-color:{{Dummy-color}}" | |
Revision as of 00:09, 5 September 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.