Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
Include |
#include "Engine/Canvas.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void K2_DrawLine
(
FVector2D ScreenPositionA,
FVector2D ScreenPositionB,
float Thickness,
FLinearColor RenderColor
)
Draws a line on the Canvas.
Parameter |
Description |
---|---|
ScreenPositionA |
Starting position of the line in screen space. |
ScreenPositionB |
Ending position of the line in screen space. |
Thickness |
How many pixels thick this line should be. |
RenderColor |
Color to render the line. |