Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiTransformInterface::Rect Struct Reference

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
 

Detailed Description

Struct that stores the bounds of an axis-aligned rectangle.


The documentation for this struct was generated from the following file: