Skip to content

FloatComparisonMaterialDriver

Inheritance 4 ancestors · 50 siblings

Class Documentation

Edit documentation

A bool driver that compares two numbers. It evaluates mValueA and mValueB as float drivers and returns the result of mValueA <operator> mValueB.

Shipped data uses it mostly to compare the counter of a buff with a constant.

Properties

mOperator

U32 = 0
Edit documentation

The comparison.

Value Test
0 A == B
1 A > B
2 A >= B
3 A < B
4 A <= B

Any other value returns false.