UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCachedCompositeFontData Class Reference

#include <FontCacheCompositeFont.h>

Public Member Functions

 FCachedCompositeFontData ()
 
 FCachedCompositeFontData (const FCompositeFont &InCompositeFont)
 
FORCEINLINE const FCompositeFontGetCompositeFont () const
 
FORCEINLINE const FCachedTypefaceDataGetDefaultTypeface () const
 
FORCEINLINE const FCachedTypefaceDataGetFallbackTypeface () const
 
const FCachedTypefaceDataGetTypefaceForCodepoint (const UTF32CHAR InCodepoint) const
 
void GetCachedFontData (TArray< const FFontData * > &OutFontData) const
 
void RefreshFontRanges ()
 

Detailed Description

Cached data for a given composite font

Constructor & Destructor Documentation

◆ FCachedCompositeFontData() [1/2]

FCachedCompositeFontData::FCachedCompositeFontData ( )

Default constructor

◆ FCachedCompositeFontData() [2/2]

FCachedCompositeFontData::FCachedCompositeFontData ( const FCompositeFont InCompositeFont)

Construct the cache from the given composite font

Member Function Documentation

◆ GetCachedFontData()

void FCachedCompositeFontData::GetCachedFontData ( TArray< const FFontData * > &  OutFontData) const

Get all the font data cached by this entry

◆ GetCompositeFont()

FORCEINLINE const FCompositeFont & FCachedCompositeFontData::GetCompositeFont ( ) const
inline

Get the composite font we cached data from

◆ GetDefaultTypeface()

FORCEINLINE const FCachedTypefaceData * FCachedCompositeFontData::GetDefaultTypeface ( ) const
inline

Get the default typeface for this composite font

◆ GetFallbackTypeface()

FORCEINLINE const FCachedTypefaceData * FCachedCompositeFontData::GetFallbackTypeface ( ) const
inline

Get the fallback typeface for this composite font

◆ GetTypefaceForCodepoint()

const FCachedTypefaceData * FCachedCompositeFontData::GetTypefaceForCodepoint ( const UTF32CHAR  InCodepoint) const

Get the typeface that should be used for the given codepoint

◆ RefreshFontRanges()

void FCachedCompositeFontData::RefreshFontRanges ( )

Refresh the font ranges used by sub-fonts (should be called when the culture is changed)


The documentation for this class was generated from the following files: