Table of Contents

Enum VisualShaderNodeFloatFunc.FunctionEnum

Namespace
Godot
Assembly
GodotSharp.dll
public enum VisualShaderNodeFloatFunc.FunctionEnum : long

Fields

Abs = 12

Returns the absolute value of the parameter. Translates to abs(x) in the Godot Shader Language.

Acos = 4

Returns the arc-cosine of the parameter. Translates to acos(x) in the Godot Shader Language.

Acosh = 20

Returns the arc-hyperbolic-cosine of the parameter. Translates to acosh(x) in the Godot Shader Language.

Asin = 3

Returns the arc-sine of the parameter. Translates to asin(x) in the Godot Shader Language.

Asinh = 21

Returns the arc-hyperbolic-sine of the parameter. Translates to asinh(x) in the Godot Shader Language.

Atan = 5

Returns the arc-tangent of the parameter. Translates to atan(x) in the Godot Shader Language.

Atanh = 22

Returns the arc-hyperbolic-tangent of the parameter. Translates to atanh(x) in the Godot Shader Language.

Ceil = 16

Finds the nearest integer that is greater than or equal to the parameter. Translates to ceil(x) in the Godot Shader Language.

Cos = 1

Returns the cosine of the parameter. Translates to cos(x) in the Godot Shader Language.

Cosh = 7

Returns the hyperbolic cosine of the parameter. Translates to cosh(x) in the Godot Shader Language.

Degrees = 23

Convert a quantity in radians to degrees. Translates to degrees(x) in the Godot Shader Language.

Exp = 10

Returns the natural exponentiation of the parameter. Translates to exp(x) in the Godot Shader Language.

Exp2 = 24

Returns 2 raised by the power of the parameter. Translates to exp2(x) in the Godot Shader Language.

Floor = 14

Finds the nearest integer less than or equal to the parameter. Translates to floor(x) in the Godot Shader Language.

Fract = 17

Computes the fractional part of the argument. Translates to fract(x) in the Godot Shader Language.

InverseSqrt = 25

Returns the inverse of the square root of the parameter. Translates to inversesqrt(x) in the Godot Shader Language.

Log = 9

Returns the natural logarithm of the parameter. Translates to log(x) in the Godot Shader Language.

Log2 = 26

Returns the base 2 logarithm of the parameter. Translates to log2(x) in the Godot Shader Language.

Max = 32

Represents the size of the VisualShaderNodeFloatFunc.FunctionEnum enum.

Negate = 19

Negates the x using -(x).

Oneminus = 31

Subtracts scalar x from 1 (i.e. 1 - x).

Radians = 27

Convert a quantity in degrees to radians. Translates to radians(x) in the Godot Shader Language.

Reciprocal = 28

Finds reciprocal value of dividing 1 by x (i.e. 1 / x).

Round = 15

Finds the nearest integer to the parameter. Translates to round(x) in the Godot Shader Language.

Roundeven = 29

Finds the nearest even integer to the parameter. Translates to roundEven(x) in the Godot Shader Language.

Saturate = 18

Clamps the value between 0.0 and 1.0 using min(max(x, 0.0), 1.0).

Sign = 13

Extracts the sign of the parameter. Translates to sign(x) in the Godot Shader Language.

Sin = 0

Returns the sine of the parameter. Translates to sin(x) in the Godot Shader Language.

Sinh = 6

Returns the hyperbolic sine of the parameter. Translates to sinh(x) in the Godot Shader Language.

Sqrt = 11

Returns the square root of the parameter. Translates to sqrt(x) in the Godot Shader Language.

Tan = 2

Returns the tangent of the parameter. Translates to tan(x) in the Godot Shader Language.

Tanh = 8

Returns the hyperbolic tangent of the parameter. Translates to tanh(x) in the Godot Shader Language.

Trunc = 30

Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x. Translates to trunc(x) in the Godot Shader Language.