UReporterBase::DrawLine

Helper to draw a line from normalized to screen space

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Debug/ReporterBase.h

Include

#include "Debug/ReporterBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Debug/ReporterBase.cpp

Syntax

void DrawLine
(
    UCanvas * Canvas,
    const FVector2D & StartPos,
    const FVector2D & EndPos,
    const FLinearColor & Color,
    EReporterLineStyle::Type LineStyle
)

Remarks

Helper to draw a line from normalized to screen space

Parameters

Parameter

Description

Canvas

The canvas to draw to

StartPos

The start position of the line, in normalized coordinates

EndPos

The end position of the line, in normalized coordinates

Color

The color to draw the line

LineStyle

The style to draw 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