FShapedGlyphSequence::GetKerning

Get the kerning value between the given entry and the next entry in the sequence @note 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

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

TOptional< int8 > GetKerning
(
    const int32 InIndex
) const

Remarks

Get the kerning value between the given entry and the next entry in the sequence @note 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

Returns

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)

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