Difference between revisions of "Timer (LogiX node)/ja"
Jump to navigation
Jump to search
(Created page with "== 例 ==") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
}} | }} | ||
− | '''Timer'''ノードは <code>Pulse</code> のインパルスを <code>Interval</code> | + | '''Timer'''ノードは <code>Pulse</code> のインパルスを <code>Interval</code> 入力で指定した秒数間隔で出力します。 |
== 使用方法 == | == 使用方法 == | ||
Line 14: | Line 14: | ||
=== ユーザーの取り扱い === | === ユーザーの取り扱い === | ||
− | このノードで '''[[Local_User_(LogiX_node)/ja|Local User]]'' を使うことは '''非推奨 | + | このノードで '''[[Local_User_(LogiX_node)/ja|Local User]]''' を使うことは '''非推奨''' とされています。[[Local_User_(LogiX_node)/ja|Local User]]を使用すると、セッション内のすべてのユーザーに対してインパルスが発射されます。これは、[[Fire_On_True_(LogiX_node)/ja| Fire On True]]などのガイダンスに似ています。 |
== 例 == | == 例 == | ||
− | == | + | == ノードメニュー == |
[[Category:LogiX{{#translation:}}|Timer]] | [[Category:LogiX{{#translation:}}|Timer]] | ||
[[Category:LogiX:Flow{{#translation:}}|Timer]] | [[Category:LogiX:Flow{{#translation:}}|Timer]] | ||
− | {{:NodeMenu-Flow | + | {{:NodeMenu-Flow}} |
Latest revision as of 01:00, 2 August 2022
Timer | ||
---|---|---|
Inputs | ||
Float | Interval | |
User | UpdatingUser | |
Outputs | ||
Impulse | Pulse |
Timerノードは Pulse
のインパルスを Interval
入力で指定した秒数間隔で出力します。
使用方法
フレームの更新ごとに、このノードは Interval
入力と同じかそれ以上の秒数が経過しているかどうかをチェックします。もし経過していれば、UpdatingUser
が所有するインパルスが発射されます。UpdatingUser
が入力されない場合、デフォルトのオーナーはワールドホストです。もしnullのUpdatingUser
が指定された場合、そのノードは全く起動しません。
ユーザーの取り扱い
このノードで Local User を使うことは 非推奨 とされています。Local Userを使用すると、セッション内のすべてのユーザーに対してインパルスが発射されます。これは、 Fire On Trueなどのガイダンスに似ています。