UWidgetBlueprintLibrary::DrawLines

Draws several line segments.

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 DrawLines
(
    FPaintContext & Context,
    const TArray< FVector2D > & Points,
    FLinearColor Tint,
    bool bAntiAlias,
    float Thickness
)

Remarks

Draws several line segments.

Parameters

Parameter

Description

Points

Line pairs, each line needs to be 2 separate points in the array.

Tint

Color to render the line.

bAntialias

Whether the line should be antialiased.

Thickness

How many pixels thick this line should be.