FCharacterList::CanCacheCharacter

Returns whether the specified character is valid for caching (i.e. whether it matches the FontFallback level)

Choose your operating system:

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

bool CanCacheCharacter
(
    TCHAR Character,
    const EFontFallback MaxFontFallback
) const

Remarks

Returns whether the specified character is valid for caching (i.e. whether it matches the FontFallback level)

Parameters

Parameter

Description

Character

The character to check

MaxFontFallback

The maximum fallback level that can be used when resolving glyphs