Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/HUD.h |
Include |
#include "GameFramework/HUD.h" |
Source |
/Engine/Source/Runtime/Engine/Private/HUD.cpp |
void DrawLine
(
float StartScreenX,
float StartScreenY,
float EndScreenX,
float EndScreenY,
FLinearColor LineColor,
float LineThickness
)
Draws a 2D line on the HUD.
Parameter |
Description |
---|---|
StartScreenX |
Screen-space X coordinate of start of the line. |
StartScreenY |
Screen-space Y coordinate of start of the line. |
EndScreenX |
Screen-space X coordinate of end of the line. |
EndScreenY |
Screen-space Y coordinate of end of the line. |
LineColor |
Color to draw line |
LineThickness |
Thickness of the line to draw |