Last updated on
Jul 13, 2023
Unary operation on float
In: Substance model graphs > Operation
Description
The Unary operation on float node outputs the result of the operation set by the user on the input float value.
Parameters
- Operation Integer
The operation applied to the input valuex
:- Absolute
|x|
- Additive inverse
-x
- Multiplicative inverse
1/x
- Square
x^2
- Square root
√x
- Cosine
cos(x)
- Sine
sin(x)
- Tangent
tan(x)
- Round (x rounded to the nearest integer, higher integer if x % 1 = 0.5)
- Ceil (x rounded to the higher integer)
x + (1 – x % 1)
- Floor (x rounded to the lower integer)
x – (x % 1)
- Arccosine
arccos(x)
- Arcsine
arcsin(x)
- Arctangent
arctan(x)
- Absolute
- Value Float
The valuex
that the operation is performed on.
Example Images
There are no images attached to this page. |