VisualShaderNodeVectorOp.Operator

Values

ValueMeaning
opAdd0

Adds two vectors.

opSub1

Subtracts a vector from a vector.

opMul2

Multiplies two vectors.

opDiv3

Divides vector by vector.

opMod4

Returns the remainder of the two vectors.

opPow5

Returns the value of the first parameter raised to the power of the second, for each component of the vectors.

opMax6

Returns the greater of two values, for each component of the vectors.

opMin7

Returns the lesser of two values, for each component of the vectors.

opCross8

Calculates the cross product of two vectors.

opAtan29

Returns the arc-tangent of the parameters.

opReflect10

Returns the vector that points in the direction of reflection. a is incident vector and b is the normal vector.

opStep11

Vector step operator. Returns 0.0 if a is smaller than b and 1.0 otherwise.

Meta