Difference between revisions of "Delay With Value (LogiX node)/ja"
(Created page with "Delay With Value (LogiXノード)") |
(Created page with "'''Delay with value'''ノードは、<code>Trigger</code>へのインパルス入力から<code>Delay</code>秒経過後に<code>Impulse</code>からインパルスを出力...") |
||
Line 11: | Line 11: | ||
}} | }} | ||
− | + | '''Delay with value'''ノードは、<code>Trigger</code>へのインパルス入力から<code>Delay</code>秒経過後に<code>Impulse</code>からインパルスを出力するために使用されます。さらに、遅延時間以上の値を保存することができます。 | |
== Usage == | == Usage == |
Revision as of 08:05, 12 February 2022
Delay with value | ||
---|---|---|
Inputs | ||
Impulse | Trigger | |
Float | Delay | |
dummy | Value | |
Outputs | ||
Impulse | Impulse | |
Impulse | OnTrigger | |
dummy | DelayedValue |
Delay with valueノードは、Trigger
へのインパルス入力からDelay
秒経過後にImpulse
からインパルスを出力するために使用されます。さらに、遅延時間以上の値を保存することができます。
Usage
The Delay
input sets the number of seconds which must elapse before the delayed impulse is fired from Impulse
. The default value is 0 which results in a delay of 1 frame update.
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
. If a user focuses a different world while they have delayed impulses queued, the delayed impulses will fire as normal. However, if a user with delayed impulses leave the world entirely, their delayed impulses will never fire.
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.