DrawDebugCanvasLine

Draws a line on a canvas.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h

Include

#include "DrawDebugHelpers.h"

Source

/Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp

Syntax

void DrawDebugCanvasLine
(
    UCanvas * Canvas,
    const FVector & Start,
    const FVector & End,
    const FLinearColor & LineColor
)

Remarks

Draws a line on a canvas.

Parameters

Parameter

Description

Canvas

The Canvas to draw on.

Start

The start of the line in world space

End

The end of the line in world space

LineColor

The color to use for 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