Struct that stores the bounds of an axis-aligned rectangle. More...
#include <UiTransformBus.h>
Public Member Functions | |
void | Set (float l, float r, float t, float b) |
float | GetWidth () const |
float | GetHeight () const |
float | GetCenterX () |
float | GetCenterY () |
AZ::Vector2 | GetSize () const |
AZ::Vector2 | GetCenter () |
void | MoveBy (AZ::Vector2 offset) |
RectPoints | GetPoints () |
bool | operator== (const Rect &rhs) const |
bool | operator!= (const Rect &rhs) const |
Public Attributes | |
float | left |
float | right |
float | top |
float | bottom |
Struct that stores the bounds of an axis-aligned rectangle.