Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/HUDHitBox.h |
Include | #include "GameFramework/HUDHitBox.h" |
Syntax
class FHUDHitBox
Remarks
Hitbox used for clickable HUD elements. These are named regions that receive various events when clicked upon.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FHUDHitBox
(
FVector2D InCoords, |
Constructor for a hitbox. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const bool | Should other boxes be processed if this box is clicked. | |
![]() ![]() |
bool | Contains
(
FVector2D InCoords |
Are the given coordinates within this hitbox. |
![]() ![]() |
void | Draw
(
FCanvas* InCanvas, |
Debug render for this hitbox. |
![]() ![]() |
const FName & | GetName () |
Get the name of this hitbox. |
![]() ![]() |
const int32 | GetPriority () |
Get the priority of this hitbox. |
See Also
AHud
AddHitBox()
ReceiveHitBoxClick()
ReceiveHitBoxRelease()
ReceiveHitBoxBeginCursorOver()
ReceiveHitBoxEndCursorOver()
NotifyHitBoxClick()
NotifyHitBoxRelease()
NotifyHitBoxBeginCursorOver()
NotifyHitBoxEndCursorOver()
GetHitBoxAtCoordinates()
GetHitBoxesAtCoordinates()
GetHitBoxWithName()