Difference between revisions of "++ (LogiX node) (Actions)"
Jump to navigation
Jump to search
m (Zyzyl moved page ++ to ++ (LogiX node) (Actions): Renaming to bring closer in line with Wikipedia title conventions) |
|||
Line 1: | Line 1: | ||
− | + | <languages></languages> | |
+ | <translate> | ||
+ | The '''++''' node in the Actions category increases the referenced target value by one when it receives an impulse. | ||
+ | |||
+ | <!--[[File:|border|256px|right]]--> | ||
+ | |||
+ | == Inputs & Outputs == | ||
+ | {| class="wikitable" | ||
+ | |+Inputs | ||
+ | |- | ||
+ | | Color | ||
+ | | Label | ||
+ | | Type | ||
+ | |- | ||
+ | | style="background-color:{{Impulse-color}}" | | ||
+ | | Increment | ||
+ | | Impulse | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+Outputs | ||
+ | |- | ||
+ | | Color | ||
+ | | Label | ||
+ | | Type | ||
+ | |- | ||
+ | | style="background-color:{{IValue-color}}" | | ||
+ | | Target | ||
+ | | IValue<nowiki><T></nowiki> | ||
+ | |- | ||
+ | | style="background-color:{{Impulse-color}}" | | ||
+ | | OnDone | ||
+ | | Impulse | ||
+ | |} | ||
+ | |||
+ | == Usage == | ||
+ | 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 incrementing a target value (e.g. one stored in a variable node or ValueField) in a way which is synchronized across all users. If the aim is to increment a value locally as part of a LogiX calculation the [[++ (LogiX node) (Operators)]] is likely the better choice. | ||
+ | == Examples == | ||
+ | |||
+ | == Node Menu == | ||
+ | </translate> | ||
+ | |||
+ | [[Category:LogiX|LogiX]] | ||
+ | [[Category:LogiX: Actions|LogiX: Actions]] | ||
+ | {{:NodeMenu-Actions}} |
Revision as of 07:39, 12 July 2020
The ++ node in the Actions category increases the referenced target value by one when it receives an impulse.
Inputs & Outputs
Color | Label | Type |
Increment | 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 incrementing a target value (e.g. one stored in a variable node or ValueField) in a way which is synchronized across all users. If the aim is to increment 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 |