UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStandaloneCompositeFont Struct Reference

#include <CompositeFont.h>

+ Inheritance diagram for FStandaloneCompositeFont:

Public Member Functions

 FStandaloneCompositeFont ()
 
 FStandaloneCompositeFont (const FName &InFontName, FString InFontFilename, const EFontHinting InHinting, const EFontLoadingPolicy InLoadingPolicy)
 
virtual SLATECORE_API void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual SLATECORE_API FString GetReferencerName () const override
 
- Public Member Functions inherited from FCompositeFont
 FCompositeFont ()
 
 FCompositeFont (const FName &InFontName, FString InFontFilename, const EFontHinting InHinting, const EFontLoadingPolicy InLoadingPolicy)
 
bool IsAscentDescentOverrideEnabled () const
 
- Public Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 

Additional Inherited Members

- Public Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 
- Static Public Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 
- Public Attributes inherited from FCompositeFont
FTypeface DefaultTypeface
 
FCompositeFallbackFont FallbackTypeface
 
TArray< FCompositeSubFontSubTypefaces
 
bool bEnableAscentDescentOverride = true
 
- Static Public Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 

Detailed Description

A version of FCompositeFont that should be used when it's not being embedded within another UObject This derives from FGCObject to ensure that the bulk data objects are referenced correctly

Constructor & Destructor Documentation

◆ FStandaloneCompositeFont() [1/2]

FStandaloneCompositeFont::FStandaloneCompositeFont ( )
inline

Default constructor

◆ FStandaloneCompositeFont() [2/2]

FStandaloneCompositeFont::FStandaloneCompositeFont ( const FName InFontName,
FString  InFontFilename,
const EFontHinting  InHinting,
const EFontLoadingPolicy  InLoadingPolicy 
)
inline

Convenience constructor for when your composite font only contains a single font

Member Function Documentation

◆ AddReferencedObjects()

void FStandaloneCompositeFont::AddReferencedObjects ( FReferenceCollector Collector)
overridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ GetReferencerName()

FString FStandaloneCompositeFont::GetReferencerName ( ) const
overridevirtual

Overload this method to report a name for your referencer

Implements FGCObject.


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