Values

Normalize

Normalizes the vector so that it has a length of 1 but points in the same direction.

Saturate

Clamps the value between 0.0 and 1.0.

Negate

Returns the opposite value of the parameter.

Reciprocal

Returns 1/vector.

Rgb2hsv

Converts RGB vector to HSV equivalent.

Hsv2rgb

Converts HSV vector to RGB equivalent.

Abs

Returns the absolute value of the parameter.

Acos

Returns the arc-cosine of the parameter.

Acosh

Returns the inverse hyperbolic cosine of the parameter.

Asin

Returns the arc-sine of the parameter.

Asinh

Returns the inverse hyperbolic sine of the parameter.

Atan

Returns the arc-tangent of the parameter.

Atanh

Returns the inverse hyperbolic tangent of the parameter.

Ceil

Finds the nearest integer that is greater than or equal to the parameter.

Cos

Returns the cosine of the parameter.

Cosh

Returns the hyperbolic cosine of the parameter.

Degrees

Converts a quantity in radians to degrees.

Exp

Base-e Exponential.

Exp2

Base-2 Exponential.

Floor

Finds the nearest integer less than or equal to the parameter.

Frac

Computes the fractional part of the argument.

InverseSqrt

Returns the inverse of the square root of the parameter.

Log

Natural logarithm.

Log2

Base-2 logarithm.

Radians

Converts a quantity in degrees to radians.

Round

Finds the nearest integer to the parameter.

Roundeven

Finds the nearest even integer to the parameter.

Sign

Extracts the sign of the parameter, i.e. returns -1 if the parameter is negative, 1 if it's positive and 0 otherwise.

Sin

Returns the sine of the parameter.

Sinh

Returns the hyperbolic sine of the parameter.

Sqrt

Returns the square root of the parameter.

Tan

Returns the tangent of the parameter.

Tanh

Returns the hyperbolic tangent of the parameter.

Trunc

Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.

Oneminus

Returns 1.0 - vector.