Houdini 20.5 Nodes APEX nodes

LessThanOrEqual<T>

Determines if a value is less than or equal to another value.

On this page
Since 20.0

Returns True if a is less than or equal to b.

For vector types, the comparison is computed lexicographically over the components of the vector - the first component of each vector is compared, and if a.x < b.x, the result is returned. However, if the values are equal, the process repeats for each subsequent vector component until a definitive result is reached. For two vectors to be equal, all the components between the two vectors must be equal, that is, a.x = b.x, a.y = b.y, etc.

Inputs

a: Bool, Float, Int, Vector2, Vector3, Vector4

The first value to compare.

b: Bool, Float, Int, Vector2, Vector3, Vector4

The second value to compare.

Outputs

result: Bool

Returns True if a is less than or equal to b. Otherwise returns False.

See also

APEX nodes