ProtoFlux:Value Negate: Difference between revisions

From Resonite Wiki
Filled in this node page.
Added an information note.
 
Line 13: Line 13:


The '''Value Negate''' node takes in a value and returns the same value with the opposite sign.
The '''Value Negate''' node takes in a value and returns the same value with the opposite sign.
{{Note|This is similar to just using the [[ProtoFlux:Mul|Mul]] node and having one of the values being <code>-1</code>.|information}}


{{Note|If you just need a value without a sign, use the [[ProtoFlux:Value Abs|Value Abs]] node instead.|suggestion}}
{{Note|If you just need a value without a sign, use the [[ProtoFlux:Value Abs|Value Abs]] node instead.|suggestion}}

Latest revision as of 15:28, 27 June 2024

-n
N
*
Operators

The Value Negate node takes in a value and returns the same value with the opposite sign.

This is similar to just using the Mul node and having one of the values being -1.
If you just need a value without a sign, use the Value Abs node instead.

Inputs

N (Pseudo-Generic)

The value we want the opposite sign of.

Outputs

* (Pseudo-Generic)

Returns the value of the opposite sign.

See Also