Difference between revisions of "-- (LogiX node) (Actions)/ja"

From Neos Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
}}
 
}}
  
<div class="mw-translate-fuzzy">
+
アクションカテゴリの'''--'''ノードは、インパルスを受信すると、参照されている<code>Target</code>値を<code>Decrement</code>(1つ値を減らす処理を)します。
== 概要 ==
 
アクションカテゴリの'''--''ノードは、インパルスを受信すると、参照されているターゲット値をデクリメント(1つ値を減らす処理を)します。
 
</div>
 
  
 
<div class="mw-translate-fuzzy">
 
<div class="mw-translate-fuzzy">

Revision as of 20:35, 6 February 2022

Other languages:
English • ‎日本語 • ‎한국어
--
'--' LogiX node
Inputs
  Impulse Decrement
Outputs
  IValue`1 Target
  Impulse OnDone

アクションカテゴリの--ノードは、インパルスを受信すると、参照されているTarget値をDecrement(1つ値を減らす処理を)します。

使用方法

このノードは、インパルスを受け取ったときにのみ変更を行う点で、Operatorsの中にある(同名称の)--ノードとは異なります。このため、ターゲット値(例えば、変数ノードやValueFieldに格納されている値)を、すべてのユーザ間で保存し同期化された方法でデクリメント(値を減算する)するのに便利です。LogiX内の計算の一部としてローカルで値をデクリメント(値を減算する)する場合は、-- (LogiX node) (Operators)を使用する方が良いでしょう。


This node differs from the -1 node under Operators since it only makes changes when it receives an impulse. This makes it useful for decrementing a target value (e.g. one stored in a variable node or component e.g. a ValueField) in a way which is saved and synchronized across all users. If the aim is to decrement a value locally as part of a LogiX calculation the -1 node is likely the better choice.

一例

Actions
Back -- ++ Drive Drive Playback Tween Write
Write Latch Write Ref Write Ref Latch