FSlateFontInfo::FSlateFontInfo

Creates and initializes a new instance with the specified font, size, and emphasis.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/SlateFontInfo.h"

Source

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

Syntax

FSlateFontInfo
(
    TSharedPtr< const FCompositeFont > InCompositeFont,
    const int32 InSize,
    const FName & InTypefaceFontName,
    const FFontOutlineSettings & InOutlineSettings
)

Remarks

Creates and initializes a new instance with the specified font, size, and emphasis.

Parameters

Parameter

Description

InCompositeFont

The font instance to use.

InSize

The size of the font.

InTypefaceFontName

The name of the font to use from the default typeface (None will use the first entry)

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