Difference between revisions of "++ (LogiX node) (Actions)"
Jump to navigation
Jump to search
(Update category) |
|||
Line 43: | Line 43: | ||
== Node Menu == <!--T:6--> | == Node Menu == <!--T:6--> | ||
</translate> | </translate> | ||
+ | |||
[[Category:LogiX{{#translation:}}|++]] | [[Category:LogiX{{#translation:}}|++]] | ||
− | [[Category:LogiX: Actions{{#translation:}}|++]] | + | [[Category:LogiX:Actions{{#translation:}}|++]] |
{{:NodeMenu-Actions{{#translation:}}}} | {{:NodeMenu-Actions{{#translation:}}}} |
Revision as of 20:12, 5 July 2021
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 |