FTypeface::FTypeface

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

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/CompositeFont.h"

Syntax

FTypeface
(
    const FName & InFontName,
    FString InFontFilename,
    const EFontHinting InHinting,
    const EFontLoadingPolicy InLoadingPolicy
)

Remarks

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