Struct that stores the 4 points of a (transformed) rectangle and provides access either as an array or via access functions. More...
#include <UiTransformBus.h>
| Public Types | |
| enum | Corner { Corner_TopLeft , Corner_TopRight , Corner_BottomRight , Corner_BottomLeft , Corner_Count } | 
| Public Member Functions | |
| RectPoints (float left, float right, float top, float bottom) | |
| AZ::Vector2 & | TopLeft () | 
| const AZ::Vector2 & | TopLeft () const | 
| AZ::Vector2 & | TopRight () | 
| const AZ::Vector2 & | TopRight () const | 
| AZ::Vector2 & | BottomRight () | 
| const AZ::Vector2 & | BottomRight () const | 
| AZ::Vector2 & | BottomLeft () | 
| const AZ::Vector2 & | BottomLeft () const | 
| AZ::Vector2 | GetCenter () const | 
| AZ::Vector2 | GetAxisAlignedSize () const | 
| AZ::Vector2 | GetAxisAlignedTopLeft () const | 
| AZ::Vector2 | GetAxisAlignedTopRight () const | 
| AZ::Vector2 | GetAxisAlignedBottomRight () const | 
| AZ::Vector2 | GetAxisAlignedBottomLeft () const | 
| void | SetAxisAligned (float left, float right, float top, float bottom) | 
| RectPoints | Transform (AZ::Matrix4x4 &transform) const | 
| RectPoints | operator- (const RectPoints &rhs) const | 
| Public Attributes | |
| AZ::Vector2 | pt [Corner_Count] | 
Struct that stores the 4 points of a (transformed) rectangle and provides access either as an array or via access functions.