FStandaloneCompositeFont

A version of [FCompositeFont](API\Runtime\SlateCore\Fonts\FCompositeFont) that should be used when it's not being embedded within another [UObject](API\Runtime\CoreUObject\UObject\UObject) This derives from [FGCObject](API\Runtime\CoreUObject\UObject\FGCObject) to ensure that the bulk data objects are referenced correctly

Windows
MacOS
Linux

Inheritance Hierarchy

FCompositeFont

FGCObject

FStandaloneCompositeFont

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/CompositeFont.h

Include

#include "Fonts/CompositeFont.h"

Syntax

struct FStandaloneCompositeFont :
    public FCompositeFont,
    public FGCObject

Remarks

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

Constructors

Name Description

Public function

FStandaloneCompositeFont()

Default constructor

Public function

FStandaloneCompositeFont

(
    const FName& InFontName,
    FString InFontFilename,
    const EFontHinting InHinting,
    const EFontLoadingPolicy InLoadingP...
)

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

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Pure virtual that must be overloaded by the inheriting class.

Public function Virtual Const

FString

 

GetReferencerName()

Use this method to report a name for your referencer.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss