UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTextLayout::FTextLayoutSize Struct Reference

#include <TextLayout.h>

Public Member Functions

 FTextLayoutSize ()
 
FVector2D GetDrawSize () const
 
FVector2D GetWrappedSize () const
 

Public Attributes

float DrawWidth
 
float WrappedWidth
 
float Height
 

Constructor & Destructor Documentation

◆ FTextLayoutSize()

FTextLayout::FTextLayoutSize::FTextLayoutSize ( )
inline

Member Function Documentation

◆ GetDrawSize()

FVector2D FTextLayout::FTextLayoutSize::GetDrawSize ( ) const
inline

◆ GetWrappedSize()

FVector2D FTextLayout::FTextLayoutSize::GetWrappedSize ( ) const
inline

Member Data Documentation

◆ DrawWidth

float FTextLayout::FTextLayoutSize::DrawWidth

Width of the text layout, including any lines which extend beyond the wrapping boundaries (eg, lines with lots of trailing whitespace, or lines with no break candidates)

◆ Height

float FTextLayout::FTextLayoutSize::Height

Height of the text layout

◆ WrappedWidth

float FTextLayout::FTextLayoutSize::WrappedWidth

Width of the text layout after the text has been wrapped, and including the first piece of trailing whitespace for any given soft-wrapped line


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