# 属性矢量运算¶

Modify an attribute with a math operation.

The Attribute Vector Math Node.

## 输入¶

Standard geometry input.

A, B, C

The inputs to the math operations. Depending on the operation one, two, or all three of the inputs will be used. The attribute types are all vectors of three values, except for the Scale operation, where the second input uses a float type.

The name of the attribute where the computed result it stored. A new attribute with that name is added if it does not exist yet. If it does exist, the values of the existing attribute are overridden.

## 属性¶

The math function to perform.

The sum of A and B.

The difference between A and B.

The entrywise product of A and B. $$(A.x * B.x, A.y * B.y, A.z * B.z)$$

The entrywise division of A by B. Division by zero results in zero. $$(A.x / B.x, A.y / B.y, A.z / B.z)$$

The cross product of A and B.

The projection of A onto B.

The reflection of A around the normal B. B need not be normalized.

The dot product of A and B.

The distance between A and B.

The length of A.

The result of multiplying A by the scalar input Scale.

The result of normalizing A.

Wrap.

The result of rounding A to the largest integer multiple of B less than or equal A.

The entrywise floor of A.

The entrywise ceiling of A.

The entrywise modulo of A by B.

The fractional part of A.

The entrywise absolute value of A.

The entrywise minimum from A and B.

The entrywise maximum from A and B.

The entrywise Sine of A.

The entrywise Cosine of A.

The entrywise Tangent of A.

Note

Attributes are converted implicitly to the input data type.

Type A, B, C

The input is a text field that expects an attribute name.

The input is a vector of three float numbers.

## 输出¶

Standard geometry output.