![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontCacheCompositeFont.h>
Public Member Functions | |
| FCachedCompositeFontData () | |
| FCachedCompositeFontData (const FCompositeFont &InCompositeFont) | |
| FORCEINLINE const FCompositeFont & | GetCompositeFont () const |
| FORCEINLINE const FCachedTypefaceData * | GetDefaultTypeface () const |
| FORCEINLINE const FCachedTypefaceData * | GetFallbackTypeface () const |
| const FCachedTypefaceData * | GetTypefaceForCodepoint (const UTF32CHAR InCodepoint) const |
| void | GetCachedFontData (TArray< const FFontData * > &OutFontData) const |
| void | RefreshFontRanges () |
Cached data for a given composite font
| FCachedCompositeFontData::FCachedCompositeFontData | ( | ) |
Default constructor
| FCachedCompositeFontData::FCachedCompositeFontData | ( | const FCompositeFont & | InCompositeFont | ) |
Construct the cache from the given composite font
Get all the font data cached by this entry
|
inline |
Get the composite font we cached data from
|
inline |
Get the default typeface for this composite font
|
inline |
Get the fallback typeface for this composite font
| const FCachedTypefaceData * FCachedCompositeFontData::GetTypefaceForCodepoint | ( | const UTF32CHAR | InCodepoint | ) | const |
Get the typeface that should be used for the given codepoint
| void FCachedCompositeFontData::RefreshFontRanges | ( | ) |
Refresh the font ranges used by sub-fonts (should be called when the culture is changed)