FindLastWholeCharacterIndexBeforeOffset

Overload list

Windows
MacOS
Linux
Name Description

Public function Const

int32

 

FindLastWholeCharacterIndexBeforeOffset

(
    const FString& Text,
    const FSlateFontInfo& InFontInfo,
    const int32 HorizontalOffset,
    float FontScale
)

Finds the last whole character index before the specified position in pixels along the string horizontally

Public function Const

int32

 

FindLastWholeCharacterIndexBeforeOffset

(
    const FText& Text,
    const FSlateFontInfo& InFontInfo,
    const int32 HorizontalOffset,
    float FontScale
)

Finds the last whole character index before the specified position in pixels along the string horizontally

Public function Const

int32

 

FindLastWholeCharacterIndexBeforeOffset

(
    const FString& Text,
    int32 StartIndex,
    int32 EndIndex,
    const FSlateFontInfo& InFontInfo,
    const int32 HorizontalOffset,
    bool IncludeKerningWithPrecedingCha...,
    float FontScale
)

Finds the last whole character index before the specified position in pixels along the text horizontally

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