Navigation
Unreal Engine C++ API Reference > 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 DrawRect
&40;
FLinearColor RectColor,
float ScreenX,
float ScreenY,
float ScreenW,
float ScreenH
&41;
Remarks
Draws a colored untextured quad on the HUD.
Parameters
Name | Description |
---|---|
RectColor | Color of the rect. Can be translucent. |
ScreenX | Screen-space X coordinate of upper left corner of the quad. |
ScreenY | Screen-space Y coordinate of upper left corner of the quad. |
ScreenW | Screen-space width of the quad (in pixels). |
ScreenH | Screen-space height of the quad (in pixels). |