Open 3D Engine LyShine Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <UiLayoutFitterBus.h>
Inherits AZ::ComponentBus.
Public Types | |
enum class | FitType { None , HorizontalOnly , VerticalOnly , HorizontalAndVertical } |
Fit type indicating enabled fits. | |
Public Member Functions | |
virtual bool | GetHorizontalFit ()=0 |
Get whether to resize the element horizontally. | |
virtual void | SetHorizontalFit (bool horizontalFit)=0 |
Set whether to resize the element horizontally. | |
virtual bool | GetVerticalFit ()=0 |
Get whether to resize the element vertically. | |
virtual void | SetVerticalFit (bool verticalFit)=0 |
Set whether to resize the element vertically. | |
virtual FitType | GetFitType ()=0 |
Get the fit type. | |
Static Public Attributes | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
Only one component on a entity can implement the events. | |
This component resizes its element to fit its content. It uses cell sizing information given to it by other Layout components, Text component, or Image component (fixed type).