![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontCacheCompositeFont.h>
Public Member Functions | |
| FCachedTypefaceData () | |
| FCachedTypefaceData (const FTypeface &InTypeface, const float InScalingFactor=1.0f) | |
| FORCEINLINE const FTypeface & | GetTypeface () const |
| const FFontData * | GetPrimaryFontData () const |
| const FFontData * | GetFontData (const FName &InName) const |
| FORCEINLINE float | GetScalingFactor () const |
| void | GetCachedFontData (TArray< const FFontData * > &OutFontData) const |
Cached data for a given typeface
| FCachedTypefaceData::FCachedTypefaceData | ( | ) |
Default constructor
| FCachedTypefaceData::FCachedTypefaceData | ( | const FTypeface & | InTypeface, |
| const float | InScalingFactor = 1.0f |
||
| ) |
Construct the cache from the given typeface
Get all the font data cached by this entry
Find the font associated with the given name
| const FFontData * FCachedTypefaceData::GetPrimaryFontData | ( | ) | const |
Get the font data associated with the primary (first) entry in this typeface
|
inline |
Get the scaling factor for this typeface
|
inline |
Get the typeface we cached data from