FTextOffsetLocations

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

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h

Include

#include "Framework/Text/TextLayout.h"

Syntax

struct FTextOffsetLocations

Remarks

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

Functions

Name Description

Public function Const

int32

 

GetTextLength()

Public function Const

FTextLocatio...

 

OffsetToTextLocation

(
    const int32 InOffset
)

Public function Const

int32

 

TextLocationToOffset

(
    const FTextLocation& InLocation
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss