Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AHUD
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/HUD.h |
| Include | #include "GameFramework/HUD.h" |
| Source | /Engine/Source/Runtime/Engine/Private/HUD.cpp |
void DrawLine
&40;
float StartScreenX,
float StartScreenY,
float EndScreenX,
float EndScreenY,
FLinearColor LineColor,
float LineThickness
&41;
Remarks
Draws a 2D line on the HUD.
Parameters
| Name | 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 |