UWidgetBlueprintLibrary::DrawText

Draws text.

Choose your operating system:

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.