Documentation / Node reference / code nodes

code/MathUnary

Outputs a math operation on one value.

Math

Outputs a math operation on one value, picked from a menu. Vectors are worked on one component at a time, except by normalize.

Parameters

Name Type What it does
type UInt8 abs · acos · asin · atan · ceil · complement · cos · cosh · degrees · exp · exp2 · floor · fract · invert · log · log2 · negate · normalize · radians · round · saturate · sign · sin · sinh · sqrt · tan · tanh Operation applied to the value.
value_Float Float Value to work on.
value_Vector2 Vector2 Value to work on.
value_Vector3 Vector3 Value to work on.
value_Vector4 Vector4 Value to work on.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.