Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FShapedGlyphSequence
Description
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
| Name | GetSubSequence |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
FShapedGlyphSequencePtr GetSubSequence
(
const int32 InStartIndex,
const int32 InEndIndex
) const
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)