ProtoFlux:Value One Minus: Difference between revisions

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


[[Category:ProtoFlux:Stubs]]
The '''Value One Minus''' node takes in a value and subtracts it from a starting point of 1. This can be done similarly with the [[ProtoFlux:Sub|Sub]] node.
 
{{Note|This node is useful for working with [[Blendshape|Blendshapes]], especially when you want one blendshape to be the opposite value of the other.|information}}
 
== Inputs ==
 
=== * (Pseudo-Generic) ===
 
Takes in the number we want to use for subtracting from 1.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
Returns the new value.
 
== See Also ==
* Wikipedia's definition of [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 subtraction] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 16:27, 27 June 2024

1-n
X
*
Operators

The Value One Minus node takes in a value and subtracts it from a starting point of 1. This can be done similarly with the Sub node.

This node is useful for working with Blendshapes, especially when you want one blendshape to be the opposite value of the other.

Inputs

* (Pseudo-Generic)

Takes in the number we want to use for subtracting from 1.

Outputs

* (Pseudo-Generic)

Returns the new value.

See Also