FSlateFontCache::GetCharacterList

Gets information for how to draw all non-shaped characters in the specified string.

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

FCharacterList & GetCharacterList
(
    const FSlateFontInfo & InFontInfo,
    float FontScale,
    const FFontOutlineSettings & InOutlineSettings
)

Remarks

Gets information for how to draw all non-shaped characters in the specified string. Caches characters as they are found

Parameters

Parameter

Description

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

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