World-space enemy entry — for the floating HP bar that hovers above each visible enemy in the world (renders only when on-screen).
More...
#include <HudTypes.hpp>
|
| float | worldX = 0.f |
| float | worldY = 0.f |
| float | worldZ = 0.f |
| | Top of the enemy capsule.
|
| std::string | name |
| | Display label (e.g. "RAIDEN").
|
| int | health = 100 |
| int | maxHealth = 100 |
| int | armor = 0 |
| int | maxArmor = 100 |
| bool | isAlive = true |
| bool | occluded = false |
| | True when world geometry blocks the line of sight from the camera (hide bar/name).
|
World-space enemy entry — for the floating HP bar that hovers above each visible enemy in the world (renders only when on-screen).
◆ armor
| int HudWorldEnemy::armor = 0 |
◆ health
| int HudWorldEnemy::health = 100 |
◆ isAlive
| bool HudWorldEnemy::isAlive = true |
◆ maxArmor
| int HudWorldEnemy::maxArmor = 100 |
◆ maxHealth
| int HudWorldEnemy::maxHealth = 100 |
◆ name
| std::string HudWorldEnemy::name |
Display label (e.g. "RAIDEN").
◆ occluded
| bool HudWorldEnemy::occluded = false |
True when world geometry blocks the line of sight from the camera (hide bar/name).
◆ worldX
| float HudWorldEnemy::worldX = 0.f |
◆ worldY
| float HudWorldEnemy::worldY = 0.f |
◆ worldZ
| float HudWorldEnemy::worldZ = 0.f |
Top of the enemy capsule.
The documentation for this struct was generated from the following file: