Difference between revisions of "-- (LogiX node) (Actions)"
Jump to navigation
Jump to search
(Marked this version for translation) |
|||
Line 1: | Line 1: | ||
<languages></languages> | <languages></languages> | ||
<translate> | <translate> | ||
+ | <!--T:1--> | ||
The '''--''' node in the Actions category reduces the referenced target value by one when it receives an impulse. | The '''--''' node in the Actions category reduces the referenced target value by one when it receives an impulse. | ||
+ | <!--T:2--> | ||
[[File:Action--.jpg|border|256px|right]] | [[File:Action--.jpg|border|256px|right]] | ||
− | == Inputs & Outputs == | + | == Inputs & Outputs == <!--T:3--> |
{| class="wikitable" | {| class="wikitable" | ||
|+Inputs | |+Inputs | ||
Line 18: | Line 20: | ||
|} | |} | ||
+ | <!--T:4--> | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Outputs | |+Outputs | ||
Line 34: | Line 37: | ||
|} | |} | ||
− | == Usage == | + | == Usage == <!--T:5--> |
This node differs from the identically named [[-- (LogiX node) (Operators)|--]] 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 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 [[-- (LogiX node) (Operators)]] is likely the better choice. | This node differs from the identically named [[-- (LogiX node) (Operators)|--]] 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 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 [[-- (LogiX node) (Operators)]] is likely the better choice. | ||
== Examples == | == Examples == | ||
− | == Node Menu == | + | == Node Menu == <!--T:6--> |
</translate> | </translate> | ||
Revision as of 14:08, 16 September 2020
The -- node in the Actions category reduces the referenced target value by one when it receives an impulse.
Inputs & Outputs
Color | Label | Type |
Decrement | Impulse |
Color | Label | Type |
Target | IValue<T> | |
OnDone | Impulse |
Usage
This node differs from the identically named -- 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 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 -- (LogiX node) (Operators) is likely the better choice.
Examples
Node Menu
Actions | ||||||
---|---|---|---|---|---|---|
Back | -- | ++ | Drive | Drive Playback | Tween | Write |
Write Latch | Write Ref | Write Ref Latch |