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

#include <CanvasTypes.h>

Public Member Functions

 FWrappedStringElement ()
 
 FWrappedStringElement (FString &&InValue, float Width, float Height)
 
 FWrappedStringElement (const FString &InValue, float Width, float Height)
 

Public Attributes

FString Value
 
FVector2D LineExtent
 

Detailed Description

Used by UUIString::WrapString to track information about each line that is generated as the result of wrapping.

Constructor & Destructor Documentation

◆ FWrappedStringElement() [1/3]

FWrappedStringElement::FWrappedStringElement ( )
inline

◆ FWrappedStringElement() [2/3]

FWrappedStringElement::FWrappedStringElement ( FString &&  InValue,
float  Width,
float  Height 
)
inline

◆ FWrappedStringElement() [3/3]

FWrappedStringElement::FWrappedStringElement ( const FString &  InValue,
float  Width,
float  Height 
)
inline

Member Data Documentation

◆ LineExtent

FVector2D FWrappedStringElement::LineExtent

the size (in pixels) that it will take to render this string

◆ Value

FString FWrappedStringElement::Value

the string associated with this line


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