Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/DrawDebugCanvas2DLine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h |
| Include | #include "DrawDebugHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp |
void DrawDebugCanvas2DLine
(
UCanvas * Canvas,
const FVector & Start,
const FVector & End,
const FLinearColor & LineColor
)
Remarks
Draws a 2D line on a canvas
Parameters
| Name | Description |
|---|---|
| Canvas | The Canvas to draw on |
| Start | The start of the line in screen space |
| End | The end of the line in screen space |
| LineColor | The color to use for the line |