VisualShaderNodeVectorOp
- OP_ADD = 0 —- Adds two vectors.
- OP_MUL = 2 —- Multiplies two vectors.
- OP_DIV = 3 —- Divides vector by vector.
- OP_MOD = 4 —- Returns the remainder of the two vectors.
- OP_POW = 5 —- Returns the value of the first parameter raised to the power of the second, for each component of the vectors.
- OP_MAX = 6 —- Returns the greater of two values, for each component of the vectors.
- OP_CROSS = 8 —- Calculates the cross product of two vectors.
- OP_ATAN2 = 9 —- Returns the arc-tangent of the parameters.
- OP_REFLECT = 10 —- Returns the vector that points in the direction of reflection. is incident vector and
b
is the normal vector. - OP_STEP = 11 —- Vector step operator. Returns
0.0
if is smaller thanb
and1.0
otherwise.
- operator
Default | |
Setter | set_operator(value) |
Getter | get_operator() |