Click or drag to resize

VisualShaderNodeVectorFuncFunctionEnum Enumeration

[Missing <summary> documentation for "T:Godot.VisualShaderNodeVectorFunc.FunctionEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum FunctionEnum
Members
  Member nameValueDescription
Normalize0

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

Saturate1

Clamps the value between 0.0 and 1.0.

Negate2

Returns the opposite value of the parameter.

Reciprocal3

Returns 1/vector.

Rgb2hsv4

Converts RGB vector to HSV equivalent.

Hsv2rgb5

Converts HSV vector to RGB equivalent.

Abs6

Returns the absolute value of the parameter.

Acos7

Returns the arc-cosine of the parameter.

Acosh8

Returns the inverse hyperbolic cosine of the parameter.

Asin9

Returns the arc-sine of the parameter.

Asinh10

Returns the inverse hyperbolic sine of the parameter.

Atan11

Returns the arc-tangent of the parameter.

Atanh12

Returns the inverse hyperbolic tangent of the parameter.

Ceil13

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

Cos14

Returns the cosine of the parameter.

Cosh15

Returns the hyperbolic cosine of the parameter.

Degrees16

Converts a quantity in radians to degrees.

Exp17

Base-e Exponential.

Exp218

Base-2 Exponential.

Floor19

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

Frac20

Computes the fractional part of the argument.

InverseSqrt21

Returns the inverse of the square root of the parameter.

Log22

Natural logarithm.

Log223

Base-2 logarithm.

Radians24

Converts a quantity in degrees to radians.

Round25

Finds the nearest integer to the parameter.

Roundeven26

Finds the nearest even integer to the parameter.

Sign27

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

Sin28

Returns the sine of the parameter.

Sinh29

Returns the hyperbolic sine of the parameter.

Sqrt30

Returns the square root of the parameter.

Tan31

Returns the tangent of the parameter.

Tanh32

Returns the hyperbolic tangent of the parameter.

Trunc33

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

Oneminus34

Returns 1.0 - vector.

See Also