A vector function to be used within the visual shader graph.
A visual shader node able to perform different functions using vectors.
- The function to be performed. See [enum Function] for options.
Normalizes the vector so that it has a length of [code]1[/code] but points in the same direction.
Clamps the value between [code]0.0[/code] and [code]1.0[/code].
Returns the opposite value of the parameter.
Returns [code]1/vector[/code].
Returns the absolute value of the parameter.
Returns the arc-cosine of the parameter.
Returns the inverse hyperbolic cosine of the parameter.
Returns the arc-sine of the parameter.
Returns the inverse hyperbolic sine of the parameter.
Returns the arc-tangent of the parameter.
Returns the inverse hyperbolic tangent of the parameter.
Finds the nearest integer that is greater than or equal to the parameter.
Returns the cosine of the parameter.
Returns the hyperbolic cosine of the parameter.
Converts a quantity in radians to degrees.
Base-e Exponential.
Base-2 Exponential.
Finds the nearest integer less than or equal to the parameter.
Computes the fractional part of the argument.
Returns the inverse of the square root of the parameter.
Natural logarithm.
Base-2 logarithm.
Converts a quantity in degrees to radians.
Finds the nearest integer to the parameter.
Finds the nearest even integer to the parameter.
Extracts the sign of the parameter, i.e. returns [code]-1[/code] if the parameter is negative, [code]1[/code] if it's positive and [code]0[/code] otherwise.
Returns the sine of the parameter.
Returns the hyperbolic sine of the parameter.
Returns the square root of the parameter.
Returns the tangent of the parameter.
Returns the hyperbolic tangent of the parameter.
Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.
Returns [code]1.0 - vector[/code].
Represents the size of the [enum Function] enum.