#include <KillFeed.hpp>
◆ KillFeed()
◆ draw()
| void KillFeed::draw |
( |
HudContext & | ctx, |
|
|
float | drawX, |
|
|
float | drawY ) |
|
overridevirtual |
Emit geometry into the draw context.
- Parameters
-
| ctx | Immediate-mode draw API. |
| drawX | Resolved pixel X (anchor + offset already applied). |
| drawY | Resolved pixel Y. |
Implements HudWidget.
◆ update()
Called each frame before draw(). Update animation, consume events.
Implements HudWidget.
◆ diamondSize
| float KillFeed::diamondSize = 10.f |
◆ entries_
| std::vector<Entry> KillFeed::entries_ |
|
private |
◆ entryHeight
| float KillFeed::entryHeight = 40.f |
◆ entryLifetime
| float KillFeed::entryLifetime = 5.f |
◆ entryPadding
| float KillFeed::entryPadding = 30.f |
◆ fadeOutDuration
| float KillFeed::fadeOutDuration = 0.6f |
◆ fontSize
| float KillFeed::fontSize = 20.f |
◆ maxEntries
| int KillFeed::maxEntries = 4 |
The documentation for this struct was generated from the following files: