Vector Math Node#

The Vector Math node performs the selected math operation on the input vectors.
Entradas#
The inputs of the node are dynamic. Some inputs are only available in certain operations. For instance, the Scale input is only available in the Scale operator.
- Vector
Input vector
.- Vector
Input vector
.- Escala
Input Scale
.
Propiedades#
- Operación
The vector math operator to be applied on the input vectors.
- Agregar:
The sum of A and B.
- Sustraer:
The difference between A and B.
- Multiplicar:
The entrywise product of A and B.
- Dividir:
The entrywise division of A by B. Division by zero results in zero.
- Multiplicar Adicionando:
The entrywise combination of the multiply and addition operations.
- Cross Product:
The cross product of A and B.
- Proyectar:
The projection of A onto B.
- Reflect:
The reflection of A around the normal B. B need not be normalized.
- Refract:
For a given incident vector A, surface normal B and ratio of indices of refraction (IOR), refract outputs the refraction vector R.
- Faceforward:
Orients a vector A to point away from a surface B as defined by its normal C. Computes
.- Dot Product:
The dot product of A and B.
- Distancia:
The distance between A and B.
- Longitud:
The length of A.
- Escala:
The result of multiplying A by the scalar input Scale.
- Normalizar:
The result of normalizing A. The result vector points to the same direction as A and has a length of 1. If A is (0, 0, 0), the result is (0, 0, 0) as well.
- Envolver:
The entrywise output of a value between Min and Max based on the absolute difference between the input value and the nearest integer multiple of Max less than the value.
- Adherir:
The result of rounding A to the largest integer multiple of B less than or equal A.
- Piso:
Rounds the input value entrywise down to the nearest integer.
- Techo:
Rounds the input value entrywise up to the nearest integer.
- Módulo:
The entrywise modulo of A by B.
- Fracción:
Returns the fractional part of the value entrywise.
- Absoluto:
The entrywise absolute value of A.
- Mínimo:
The entrywise minimum value from A and B.
- Máximo:
The entrywise maximum value from A and B.
- Seno:
The entrywise Sine of A.
- Coseno:
The entrywise Cosine of A.
- Tangente:
The entrywise Tangent of A.
Salidas#
The output of the node is dynamic. It is either a vector or a scalar depending on the operator. For instance, the Length operator has a scalar output while the Add operator has a vector output.
- Vector
Output vector.
- Valor
Output value.