VisualShaderNodeVectorOpOperatorEnum Enumeration |
[Missing <summary> documentation for "T:Godot.VisualShaderNodeVectorOp.OperatorEnum"]
Namespace: Godot
public enum OperatorEnum
Member name | Value | Description | |
---|---|---|---|
Add | 0 | Adds two vectors. | |
Sub | 1 | Subtracts a vector from a vector. | |
Mul | 2 | Multiplies two vectors. | |
Div | 3 | Divides vector by vector. | |
Mod | 4 | Returns the remainder of the two vectors. | |
Pow | 5 | Returns the value of the first parameter raised to the power of the second, for each component of the vectors. | |
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. | |
Cross | 8 | Calculates the cross product of two vectors. | |
Atan2 | 9 | Returns the arc-tangent of the parameters. | |
Reflect | 10 | Returns the vector that points in the direction of reflection. a is incident vector and b is the normal vector. | |
Step | 11 | Vector step operator. Returns 0.0 if a is smaller than b and 1.0 otherwise. |