UTextBlock::SetFont

Dynamically set the font info for this text block

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/TextBlock.h

Include

#include "Components/TextBlock.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/TextBlock.cpp

Syntax

void SetFont
(
    FSlateFontInfo InFontInfo
)

Remarks

Dynamically set the font info for this text block

Parameters

Parameter

Description

InFontInfo

THe new font info

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