Enum VisualShaderNodeVectorOp.OperatorEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum VisualShaderNodeVectorOp.OperatorEnum : long
Fields
Add = 0
Adds two vectors.
Atan2 = 9
Returns the arc-tangent of the parameters.
Cross = 8
Calculates the cross product of two vectors.
Div = 3
Divides vector by vector.
EnumSize = 12
Represents the size of the VisualShaderNodeVectorOp.OperatorEnum enum.
Max = 6
Returns the greater of two values, for each component of the vectors.
Min = 7
Returns the lesser of two values, for each component of the vectors.
Mod = 4
Returns the remainder of the two vectors.
Mul = 2
Multiplies two vectors.
Pow = 5
Returns the value of the first parameter raised to the power of the second, for each component of the vectors.
Reflect = 10
Returns the vector that points in the direction of reflection.
a
is incident vector andb
is the normal vector.Step = 11
Vector step operator. Returns
0.0
ifa
is smaller thanb
and1.0
otherwise.Sub = 1
Subtracts a vector from a vector.