struct
MinMax2
A min/max range, per 2D component, X and Y.
Remarks
X and First read from and write to the same location in memory, as do Y and Second. This makes them interchangable and subject to user preference or context.
Fields
First | The MinMax used to clamp the First component. |
Second | The MinMax used to clamp the Second component. |
X | The MinMax used to clamp the X component. |
Y | The MinMax used to clamp the Y component. |
Static Fields
Positive | |
Unclamped | A MinMax2 where Min == |
Properties
Item[int] | Access each component by |
Max | The maximum allowed measurement in units, component-wise. |
Min | The minimum allowed measurement in units, component-wise. |
Constructors
MinMax2(MinMax, MinMax) | Construct a new MinMax2. |