FShapedGlyphSequence::GetSubSequence

Get a sub-sequence of the specified range

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h

Include

#include "Fonts/FontCache.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp

Syntax

FShapedGlyphSequencePtr GetSubSequence
(
    const int32 InStartIndex,
    const int32 InEndIndex
) const

Remarks

Get a sub-sequence of the specified range

The indices used here are relative to the start of the text we were shaped from, even if we were only shaped from a sub-section of that text

Returns

The sub-sequence, or an null if the sub-sequence couldn't be created (eg, because you started or ended on a merged ligature, or because the range is out-of-bounds)

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