-- (LogiXノード) (Actions)

From Neos Wiki
Revision as of 06:12, 12 October 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Jump to navigation Jump to search
Other languages:
English • ‎日本語 • ‎한국어
--
'--' LogiX node
Inputs
  Impulse Decrement
Outputs
  IValue`1 Target
  Impulse OnDone

概要

アクションカテゴリの'--ノードは、インパルスを受信すると、参照されているターゲット値をデクリメント(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