Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/HUD.h |
Include |
#include "GameFramework/HUD.h" |
Source |
/Engine/Source/Runtime/Engine/Private/HUD.cpp |
void DrawRect
(
FLinearColor RectColor,
float ScreenX,
float ScreenY,
float ScreenW,
float ScreenH
)
Draws a colored untextured quad on the HUD.
Parameter |
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). |