Houdini 20.0 Nodes APEX Nodes

LessThan<T>

Less than comparison operation.

On this page
Since 20.0

Returns True if a is less than b.

For vector types, the comparison is computed lexographically over the components of the vector. Concretely, the first component of each vector is compared. If it can be determined that a.x < b.x, then the result is returned. However, if the values are equal, then the process repeats for each subsequent vector component until definitive result is reached.

Inputs

a: Float, Int, Vector2, Vector3, Vector4

The first value to compare.

b: Float, Int, Vector2, Vector3, Vector4

The second value to compare.

Outputs

result: Bool

Returns True if a is less than b, False otherwise.

See also

APEX Nodes