Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FShapedGlyphSequence
Description
Get the kerning value between the given entry and the next entry in the sequence
The index used here is 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 | GetKerning |
| 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 |
TOptional < int8 > GetKerning
(
const int32 InIndex
) const
The kerning, or an unset value if we couldn't get the kerning (eg, because you specified a merged ligature, or because the index is out-of-bounds)