Houdini 20.5 Nodes APEX nodes

GreaterThan<T>

Determines if a value is greater than another value.

On this page
Since 20.0

Returns True if a is greater than 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 is repeated for each subsequent vector component until a definitive result is reached.

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 greater than b. Otherwise returns False.

See also

APEX nodes