UWidgetBlueprintLibrary::DrawTextFormatted

Draws text.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h

Include

#include "Blueprint/WidgetBlueprintLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp

Syntax

static void DrawTextFormatted
(
    FPaintContext & Context,
    const FText & Text,
    FVector2D Position,
    UFont * Font,
    int32 FontSize,
    FName FontTypeFace,
    FLinearColor Tint
)

Remarks

Draws text.

Parameters

Parameter

Description

Text

The string to draw.

Position

The starting position where the text is drawn in local space.

Tint

Color to render the line.

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