Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawDebugCanvas2DLine
(
UCanvas* Canvas, |
Draws a 2D line on a canvas | DrawDebugHelpers.h | |
void DrawDebugCanvas2DLine
(
UCanvas* Canvas, |
DrawDebugHelpers.h |
DrawDebugCanvas2DLine(UCanvas *, const FVector &, const FVector &, const FLinearColor &)
Description
Draws a 2D line on a canvas
| Name | DrawDebugCanvas2DLine |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h |
| Include Path | #include "DrawDebugHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp |
void DrawDebugCanvas2DLine
(
UCanvas * Canvas,
const FVector & Start,
const FVector & End,
const FLinearColor & LineColor
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
DrawDebugCanvas2DLine(UCanvas *, const FVector2D &, const FVector2D &, const FLinearColor &, const float &)
| Name | DrawDebugCanvas2DLine |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h |
| Include Path | #include "DrawDebugHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp |
void DrawDebugCanvas2DLine
(
UCanvas * Canvas,
const FVector2D & StartPosition,
const FVector2D & EndPosition,
const FLinearColor & LineColor,
const float & LineThickness
)