FSlateFontCache::GetDefaultFontData

Returns the font to use from the default typeface

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/FontCache.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp

Syntax

const FFontData & GetDefaultFontData
(
    const FSlateFontInfo & InFontInfo
) const

Remarks

Returns the font to use from the default typeface

Returns

The raw font data

Parameters

Parameter

Description

InFontInfo

A descriptor of the font to get the default typeface for