|
Aegis2D
Modular C++26 2D game engine for networked games
|
One particle of an emitter. More...
#include <aegis2d/render/particles.hpp>
Public Attributes | |
| Vec2 | position {0.0F, 0.0F} |
| Center, in logical pixels. | |
| Vec2 | velocity {0.0F, 0.0F} |
| Velocity, in logical pixels per second. | |
| float | age = 0.0F |
| Seconds since its birth. | |
| float | lifetime = 1.0F |
| Seconds it lives in all. | |
One particle of an emitter.
| float aegis2d::render::Particle::age = 0.0F |
Seconds since its birth.
| float aegis2d::render::Particle::lifetime = 1.0F |
Seconds it lives in all.
| Vec2 aegis2d::render::Particle::position {0.0F, 0.0F} |
Center, in logical pixels.
| Vec2 aegis2d::render::Particle::velocity {0.0F, 0.0F} |
Velocity, in logical pixels per second.