#include <GravityIndicator.hpp>
◆ GravityIndicator()
| GravityIndicator::GravityIndicator |
( |
| ) |
|
◆ draw()
| void GravityIndicator::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.
◆ direction_
| int GravityIndicator::direction_ = 0 |
|
private |
◆ diskSize
| float GravityIndicator::diskSize = 56.f |
The documentation for this struct was generated from the following files: