Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
Include |
#include "Fonts/SlateFontInfo.h" |
enum EFontFallback
{
FF_NoFallback,
FF_LastResortFallback,
FF_Max,
}
Name |
Description |
---|---|
FF_NoFallback |
No fallback font |
FF_LastResortFallback |
Fallback to localized font set Fallback to last resort font set |
FF_Max |
Tries all fallbacks |
Sets the maximum font fallback level, for when a character can't be found in the selected font set. UI code that renders strings from a third party (e.g. player chat in a multiplayer game) may want to restrict font fallback to prevent potential performance problems.