|
resonance 1.0.1
|
Pulse drawn over the leader's score on the head-up display. More...
#include <hudscorepulse.h>
Public Member Functions | |
| HudScorePulse () | |
| Resolve <layout> score pulse.mesh and hide it. | |
| void | MoveTo (HudBadge *pBadge) |
| Show the pulse over one badge's score, in its player's colour. | |
| void | Hide () |
| Hide the pulse. | |
Pulse drawn over the leader's score on the head-up display.
The class is not polymorphic and emits no RTTI. It occupies +0x114 of HudPanel, whose constructor runs the constructor. No descriptor, tag, or file path identifies the class, and its name is inferred from the one object it resolves.
| HudScorePulse::HudScorePulse | ( | ) |
Resolve <layout> score pulse.mesh and hide it.
| void HudScorePulse::MoveTo | ( | HudBadge * | pBadge | ) |
Show the pulse over one badge's score, in its player's colour.
Sets the emissive colour of the mesh's material to HudColorFromName() of the player's colour name, copies the translation row of the score mesh's local transform into the pulse mesh's, marks the transform dirty, and shows the mesh. Overlay::OnLeaderChanged() is the caller. The title is inferred.
| pBadge | The leader's badge. |
|
inline |
Hide the pulse.
Overlay::OnLeaderChanged() inlines the body when no player leads, and no out-of-line copy exists.