Houdini 20.5 Nodes APEX nodes

array::Scale<T>

Scales all elements of an array by a scalar.

On this page
Since 20.0

Scales all the elements of an array by scalar.

The array ports of this node are in-place ports, which means that the array is updated without creating a copy.

Inputs

*array: FloatArray, IntArray, Vector2Array, Vector3Array, Vector4Array Required

The input array.

scalar: Float, Int, Vector2, Vector3, Vector4

The scale value.

Outputs

*array: FloatArray, IntArray, Vector2Array, Vector3Array, Vector4Array

The updated array with its elements scaled by scalar.

APEX nodes