struct
LengthBounds
A set of Lengths used to configure offsets from each face of an axis-aligned bounding box.
Fields
Back | The Length offset from a bounds' back face. |
Bottom | The Length offset from a bounds' bottom face. |
Front | The Length offset from a bounds' front face. |
Left | The Length offset from a bounds' left face. |
Right | The Length offset from a bounds' right face. |
Top | The Length offset from a bounds' top face. |
X | |
XY | The XY face offsets of this LengthBounds as a LengthRect. |
Y | |
Z |
Properties
Item[int] | Access each Length2 by |
Percent | Assign all offsets, Left, Right, Bottom, Top,
Front, and Back, to a Percent Length with the given percent, |
Value | Assign all offsets, Left, Right, Bottom, Top, Front, and Back, to a Value Length with the given value. |
Constructors
LengthBounds(Length, Length, Length, Length, Length, Length) | Constructs a new LengthBounds, specified per face. |
LengthBounds(Length2, Length2, Length2) | Constructs a new LengthBounds, specified per axis. |
Operators
Implicit(Length to LengthBounds) | Constructs a new LengthBounds and assigns each edge offset to the provided |
Implicit(LengthRect to LengthBounds) | Constructs a new LengthBounds where XY == |
Implicit(float to LengthBounds) | Constructs a new LengthBounds and assigns each edge offset to a Value Length of |