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.
UiTextComponent::DrawBatch::OverflowInfo Struct Reference

Overflow information based on available width. Used for wrapping. More...

#include <UiTextComponent.h>

Public Attributes

int overflowIndex
 the index of the character that overflowed
 
bool overflowCharIsSpace
 indicates whether the character that overflowed is a space
 
float widthUntilOverflowOrTotalWidth
 the width of the batch up until the overflow, or the total width if no overflow
 
float overflowCharWidth
 the width of the overflow character
 
int lastSpaceIndex
 the index of the last space character that hasn't overflowed
 
bool isSpaceAtEnd
 indicates whether the space character is the last character to not overflow
 

Detailed Description

Overflow information based on available width. Used for wrapping.


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