Delay With Value (LogiXノード)
Delay with value | ||
---|---|---|
Inputs | ||
Impulse | Trigger | |
Float | Delay | |
dummy | Value | |
Outputs | ||
Impulse | Impulse | |
Impulse | OnTrigger | |
dummy | DelayedValue |
Delay with valueノードは、Trigger
へのインパルス入力からDelay
秒経過後にImpulse
からインパルスを出力するために使用されます。さらに、遅延時間以上の値を保存することができます。
使用方法
Delay
は、Impulse
から遅延インパルスが発射されるまでの秒数を設定します。デフォルト値は0であり、1フレーム分の遅延が発生します。
Trigger
へインパルスを入力した瞬間のValue
入力値が格納されます。ノードがノードブラウザから生成されたとき、これは'dummy'のデータ型ですが、ノードが接続されると、特定の入力データ型を受け入れるように上書きされます。
OnTrigger
出力は、Trigger
へインパルスを入力した直後にインパルスを発生させます。これは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.