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.
UiLayoutCellDefaultInterface Class Referenceabstract

Inherits AZ::ComponentBus.

Public Member Functions

virtual float GetMinWidth ()=0
 Get the minimum width.
 
virtual float GetMinHeight ()=0
 Get the minimum height.
 
virtual float GetTargetWidth (float maxWidth)=0
 
virtual float GetTargetHeight (float maxHeight)=0
 
virtual float GetExtraWidthRatio ()=0
 Get the extra width ratio.
 
virtual float GetExtraHeightRatio ()=0
 Get the extra height ratio.
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 Multiple components on a entity can implement the events.
 

Member Function Documentation

◆ GetTargetHeight()

virtual float UiLayoutCellDefaultInterface::GetTargetHeight ( float  maxHeight)
pure virtual

Get the target height

Parameters
maxHeightA height that the element will not surpass. LyShine::UiLayoutCellUnspecifiedSize means no max

◆ GetTargetWidth()

virtual float UiLayoutCellDefaultInterface::GetTargetWidth ( float  maxWidth)
pure virtual

Get the target width

Parameters
maxWidthA width that the element will not surpass. LyShine::UiLayoutCellUnspecifiedSize means no max

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