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

#include <TextLayout.h>

Public Member Functions

SLATE_API int32 TextLocationToOffset (const FTextLocation &InLocation) const
 
SLATE_API FTextLocation OffsetToTextLocation (const int32 InOffset) const
 
SLATE_API int32 GetTextLength () const
 

Friends

class FTextLayout
 

Detailed Description

A mapping between the offsets into the text as a flat string (with line-breaks), and the internal lines used within a text layout

Member Function Documentation

◆ GetTextLength()

int32 FTextLayout::FTextOffsetLocations::GetTextLength ( ) const

◆ OffsetToTextLocation()

FTextLocation FTextLayout::FTextOffsetLocations::OffsetToTextLocation ( const int32  InOffset) const

◆ TextLocationToOffset()

int32 FTextLayout::FTextOffsetLocations::TextLocationToOffset ( const FTextLocation InLocation) const

Friends And Related Symbol Documentation

◆ FTextLayout

friend class FTextLayout
friend

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