VisualShaderNodeVectorFuncFunctionEnum Enumeration |
[Missing <summary> documentation for "T:Godot.VisualShaderNodeVectorFunc.FunctionEnum"]
Namespace: Godot
public enum FunctionEnum
Member name | Value | Description | |
---|---|---|---|
Normalize | 0 | Normalizes the vector so that it has a length of 1 but points in the same direction. | |
Saturate | 1 | Clamps the value between 0.0 and 1.0. | |
Negate | 2 | Returns the opposite value of the parameter. | |
Reciprocal | 3 | Returns 1/vector. | |
Rgb2hsv | 4 | Converts RGB vector to HSV equivalent. | |
Hsv2rgb | 5 | Converts HSV vector to RGB equivalent. | |
Abs | 6 | Returns the absolute value of the parameter. | |
Acos | 7 | Returns the arc-cosine of the parameter. | |
Acosh | 8 | Returns the inverse hyperbolic cosine of the parameter. | |
Asin | 9 | Returns the arc-sine of the parameter. | |
Asinh | 10 | Returns the inverse hyperbolic sine of the parameter. | |
Atan | 11 | Returns the arc-tangent of the parameter. | |
Atanh | 12 | Returns the inverse hyperbolic tangent of the parameter. | |
Ceil | 13 | Finds the nearest integer that is greater than or equal to the parameter. | |
Cos | 14 | Returns the cosine of the parameter. | |
Cosh | 15 | Returns the hyperbolic cosine of the parameter. | |
Degrees | 16 | Converts a quantity in radians to degrees. | |
Exp | 17 | Base-e Exponential. | |
Exp2 | 18 | Base-2 Exponential. | |
Floor | 19 | Finds the nearest integer less than or equal to the parameter. | |
Frac | 20 | Computes the fractional part of the argument. | |
InverseSqrt | 21 | Returns the inverse of the square root of the parameter. | |
Log | 22 | Natural logarithm. | |
Log2 | 23 | Base-2 logarithm. | |
Radians | 24 | Converts a quantity in degrees to radians. | |
Round | 25 | Finds the nearest integer to the parameter. | |
Roundeven | 26 | Finds the nearest even integer to the parameter. | |
Sign | 27 | Extracts the sign of the parameter, i.e. returns -1 if the parameter is negative, 1 if it's positive and 0 otherwise. | |
Sin | 28 | Returns the sine of the parameter. | |
Sinh | 29 | Returns the hyperbolic sine of the parameter. | |
Sqrt | 30 | Returns the square root of the parameter. | |
Tan | 31 | Returns the tangent of the parameter. | |
Tanh | 32 | Returns the hyperbolic tangent of the parameter. | |
Trunc | 33 | 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 | 34 | Returns 1.0 - vector. |