Houdini 21.0 Nodes APEX nodes

array::SortAndRemoveDuplicates<T>

Sorts an array in ascending order and removes duplicate elements.

On this page
Since 21.0

Sorts an array in ascending order and removes the duplicate elements from the array.

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

Inputs

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

The input array.

Outputs

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

The updated array with its elements sorted and duplicates removed.

See also

APEX nodes