FREE TRIAL

|

☀
☾
struct

MinMaxRect

A min/max range, per 2D edge (Left, Right, Top, and Bottom) offset.

Fields

Bottom

The MinMax used to clamp Bottom.

Left

The MinMax used to clamp Left.

Right

The MinMax used to clamp Right.

Top

The MinMax used to clamp Top.

X

The MinMax2 used to clamp X.

Y

The MinMax2 used to clamp Y.

Static Fields

Positive

A MinMaxRect where Min == 0 and Max == float.PositiveInfinity.

Properties

Item[int]

Access each MinMax2 by axis index.

Constructors

MinMaxRect(MinMax, MinMax, MinMax, MinMax)

Constructs a new MinMaxRect, specified per face.

MinMaxRect(MinMax2, MinMax2)

Constructs a new MinMaxRect. specified per axis.

See Also

LengthRect
LengthRect.Calculated
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC