Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateFontCache
Description
Gets information for how to draw all non-shaped characters in the specified string. Caches characters as they are found
| Name | GetCharacterList |
| 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 |
FCharacterList & GetCharacterList
(
const FSlateFontInfo & InFontInfo,
float FontScale,
const FFontOutlineSettings & InOutlineSettings
)
Parameters
| Name | Remarks |
|---|---|
| InFontInfo | Information about the font that the string is drawn with |
| FontScale | The scale to apply to the font |
| OutCharacterEntries | Populated array of character entries. Indices of characters in Text match indices in this array |