![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
Every emitter's live particles: ParticleSystem's per-frame product. More...
#include <live_particles.h>
Public Member Functions | |
| const std::vector< Particle > * | of (EntityId emitter) const |
The particles emitter has alive, or null when it has none. | |
Public Attributes | |
| std::unordered_map< uint32_t, Pool > | pools |
| By emitter entity slot. | |
Every emitter's live particles: ParticleSystem's per-frame product.
Kept off the ParticleEmitter component, which travels with undo snapshots, duplicates and the play-mode snapshot: a pool there would make each a bulk copy, and an undo would rewind the particles.
The particles emitter has alive, or null when it has none.
| emitter | An entity carrying a ParticleEmitter. |