Houdini 21.0 Nodes APEX nodes

array::Max<T>

Finds the maximum element in an array.

On this page
Since 20.0

Finds the largest element in an array. If the array is empty, an error is raised.

Inputs

array: BoolArray, FloatArray, IntArray, StringArray, Vector2Array, Vector3Array, Vector4Array

The array to search through.

Outputs

value: Bool, Float, Int, String, Vector2, Vector3, Vector4

The value of the largest array element.

index: Int

The index of the largest array element.

See also

APEX nodes