UWidgetBlueprintLibrary::DrawText

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 DrawText
(
    FPaintContext & Context,
    const FString & InString,
    FVector2D Position,
    FLinearColor Tint
)

Remarks

Draws text.

Parameters

Parameter

Description

InString

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