#include <HUDHitBox.h>
◆ FHUDHitBox()
Constructor for a hitbox.
- Parameters
-
| InCoords | Coordinates of top left of hitbox. |
| InSize | Size of the box. |
◆ ConsumesInput()
| const bool FHUDHitBox::ConsumesInput |
( |
| ) |
const |
|
inline |
Should other boxes be processed if this box is clicked.
◆ Contains()
Are the given coordinates within this hitbox.
- Parameters
-
| InCoords | Coordinates to check. |
- Returns
- true if coordinates are within this hitbox.
◆ Draw()
Debug render for this hitbox.
- Parameters
-
| InCanvas | Canvas on which to render. |
| InColor | Color to render the box. |
◆ GetName()
| const FName & FHUDHitBox::GetName |
( |
| ) |
const |
|
inline |
Get the name of this hitbox.
◆ GetPriority()
| const int32 FHUDHitBox::GetPriority |
( |
| ) |
const |
|
inline |
Get the priority of this hitbox.
The documentation for this class was generated from the following files:
- Engine/Source/Runtime/Engine/Classes/GameFramework/HUDHitBox.h
- Engine/Source/Runtime/Engine/Private/GameFramework/HUDHitBox.cpp