Enum VisualShaderNodeVectorFunc.FunctionEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum VisualShaderNodeVectorFunc.FunctionEnum : long
Fields
Abs = 4Returns the absolute value of the parameter.
Acos = 5Returns the arc-cosine of the parameter.
Acosh = 6Returns the inverse hyperbolic cosine of the parameter.
Asin = 7Returns the arc-sine of the parameter.
Asinh = 8Returns the inverse hyperbolic sine of the parameter.
Atan = 9Returns the arc-tangent of the parameter.
Atanh = 10Returns the inverse hyperbolic tangent of the parameter.
Ceil = 11Finds the nearest integer that is greater than or equal to the parameter.
Cos = 12Returns the cosine of the parameter.
Cosh = 13Returns the hyperbolic cosine of the parameter.
Degrees = 14Converts a quantity in radians to degrees.
Exp = 15Base-e Exponential.
Exp2 = 16Base-2 Exponential.
Floor = 17Finds the nearest integer less than or equal to the parameter.
Fract = 18Computes the fractional part of the argument.
InverseSqrt = 19Returns the inverse of the square root of the parameter.
Log = 20Natural logarithm.
Log2 = 21Base-2 logarithm.
Max = 33Represents the size of the VisualShaderNodeVectorFunc.FunctionEnum enum.
Negate = 2Returns the opposite value of the parameter.
Normalize = 0Normalizes the vector so that it has a length of
1but points in the same direction.Oneminus = 32Returns
1.0 - vector.Radians = 22Converts a quantity in degrees to radians.
Reciprocal = 3Returns
1/vector.Round = 23Finds the nearest integer to the parameter.
Roundeven = 24Finds the nearest even integer to the parameter.
Saturate = 1Clamps the value between
0.0and1.0.Sign = 25Extracts the sign of the parameter, i.e. returns
-1if the parameter is negative,1if it's positive and0otherwise.Sin = 26Returns the sine of the parameter.
Sinh = 27Returns the hyperbolic sine of the parameter.
Sqrt = 28Returns the square root of the parameter.
Tan = 29Returns the tangent of the parameter.
Tanh = 30Returns the hyperbolic tangent of the parameter.
Trunc = 31Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.