Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include | #include "Fonts/SlateFontInfo.h" |
Syntax
enum EFontFallback
{
FF_NoFallback,
FF_LastResortFallback,
FF_Max,
}
Values
| Name | Description |
|---|---|
| FF_NoFallback | No fallback font |
| FF_LastResortFallback | Fallback to last resort font set |
| FF_Max | Tries all fallbacks |
Remarks
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.