Houdini 20.5 Nodes APEX nodes

Subtract<T>

Calculates the difference between the input values.

On this page
Since 20.0

The difference of the subtraction has the same type as the input value a.

Operation

Result

Scalar - Scalar

Scalar subtraction

Vector - Scalar

Scalar subtraction of each vector component

Vector - Vector

Component-wise subtraction

Matrix - Scalar

Scalar subtraction of each matrix component

Matrix - Matrix

Component-wise subtraction

Inputs

a: Float, Int, Matrix3, Matrix4, Vector2, Vector3

The initial minuend of the subtraction.

b: VariadicArg<Float>, VariadicArg<Int>, VariadicArg<Matrix3>, VariadicArg<Matrix4>, VariadicArg<Vector2>, VariadicArg<Vector3>

A variadic input of subtrahends for the subtraction.

Outputs

result: Float, Int, Matrix3, Matrix4, Vector2, Vector3

Difference of the subtraction.

See also

APEX nodes