Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/HUD.h |
Include |
#include "GameFramework/HUD.h" |
Source |
/Engine/Source/Runtime/Engine/Private/HUD.cpp |
void AddHitBox
(
FVector2D Position,
FVector2D Size,
FName InName,
bool bConsumesInput,
int32 Priority
)
Add a hitbox to the hud
Parameter |
Description |
---|---|
Position |
Coordinates of the top left of the hit box. |
Size |
Size of the hit box. |
Name |
Name of the hit box. |
bConsumesInput |
Whether click processing should continue if this hit box is clicked. |
Priority |
The priority of the box used for layering. Larger values are considered first. Equal values are considered in the order they were added. |