Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts > API/Runtime/SlateCore/Fonts/FSlateFontMeasure
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontMeasure.h |
| Include | #include "Fonts/FontMeasure.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontMeasure.cpp |
int8 GetKerning
&40;
const FSlateFontInfo & InFontInfo,
float FontScale,
TCHAR PreviousCharacter,
TCHAR CurrentCharacter
&41; const
Remarks
Returns the kerning value for the specified pair of characters. the kerning value used between the two specified characters
Parameters
| Name | Description |
|---|---|
| InFontInfo | A descriptor of the font to get kerning for |
| FontScale | The scale to apply to the font |
| PreviousCharacter | The character preceding the current character that you want to measure kerning for |
| CurrentCharacter | The current character to you to measure kerning for when precede by the specified PreviousCharacter |