ProtoFlux:Value Plus Minus: Difference between revisions

From Resonite Wiki
fix error
Filled in this node page.
 
Line 14: Line 14:
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Value Plus Minus''' node takes in a value and an offset, then returns the plus and minus outputs from the calculated results using the offset.
 
{{Note|This node is doing both the [[ProtoFlux:Add|Add]] node and the [[ProtoFlux:Sub|Sub]] node at the same time.|information}}
 
== Inputs ==
 
=== Value (Pseudo-Generic) ===
 
The starting value.
 
=== Offset (Pseudo-Generic) ===
 
The offset to add and subtract from the starting value.
 
== Outputs ==
 
=== Plus (Pseudo-Generic) ===
 
Returns the additive offset value.
 
=== Minus (Pseudo-Generic) ===
 
Returns the subtracted offset value.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Addition addition] and [https://en.wikipedia.org/wiki/Subtraction subtraction].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators addition] and [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators subtraction] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 16:24, 27 June 2024

±
Value
Plus
Offset
Minus
Operators

The Value Plus Minus node takes in a value and an offset, then returns the plus and minus outputs from the calculated results using the offset.

This node is doing both the Add node and the Sub node at the same time.

Inputs

Value (Pseudo-Generic)

The starting value.

Offset (Pseudo-Generic)

The offset to add and subtract from the starting value.

Outputs

Plus (Pseudo-Generic)

Returns the additive offset value.

Minus (Pseudo-Generic)

Returns the subtracted offset value.

See Also