ProtoFlux:Value Inc: Difference between revisions

From Resonite Wiki
Stub
 
Removed extra space.
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Type":"Dummy"}
{"Name":"N", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Type":"Dummy"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Value Inc''' node takes in a value and returns that value +1.
 
{{Note|If you need to increment a value from an [[Impulses|impulse]], use the [[ProtoFlux:Increment|Increment]] node instead.
This node is similar to the [[ProtoFlux:Add|Add]] node, but setting the add node to only add 1. |suggestion}}
 
== Inputs ==
 
=== * (Pseudo-Generic) ===
 
The value to increment by 1.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
Returns the incremented value.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Addition addition].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators increment] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 14:42, 27 June 2024

+1
N
*
Operators

The Value Inc node takes in a value and returns that value +1.

If you need to increment a value from an impulse, use the Increment node instead.

This node is similar to the Add node, but setting the add node to only add 1.

Inputs

* (Pseudo-Generic)

The value to increment by 1.

Outputs

* (Pseudo-Generic)

Returns the incremented value.

See Also

  • Wikipedia's definition of addition.
  • Microsoft's documentation on the increment operator.