Houdini 22.0 Nodes APEX nodes

array::Clear<T>

Clears an array.

On this page
Since 20.0

Clears the array. The resulting array has no elements (has a length of 0). Normally, there is very little reason to use this node unless you want to ensure that heavy arrays are cleared at the end of the graph evaluation to save memory usage.

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

Inputs

*array: ApexNodeIDArray, ApexPortIDArray, BoolArray, DictArray, DynamicPathArray, FBIKSkeletonArray, FBIKSolverArray, FBIKTargetArray, FloatArray, GeometryArray, IntArray, Matrix3Array, Matrix4Array, SimRootDataIdArray, StringArray, Vector2Array, Vector3Array, Vector4Array Required

The input array.

Outputs

*array: ApexNodeIDArray, ApexPortIDArray, BoolArray, DictArray, DynamicPathArray, FBIKSkeletonArray, FBIKSolverArray, FBIKTargetArray, FloatArray, GeometryArray, IntArray, Matrix3Array, Matrix4Array, SimRootDataIdArray, StringArray, Vector2Array, Vector3Array, Vector4Array

An empty array with no elements.

See also

APEX nodes