![]() |
vkmEngine 1.0.15
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 Pool * | poolOf (EntityId emitter) const |
The pool of emitter, or null when it has none. | |
Public Attributes | |
| std::unordered_map< uint32_t, Pool > | pools |
| By emitter entity slot. | |
Static Public Attributes | |
| static constexpr uint32_t | TRAIL_POINTS = 12 |
| Points a particle's trail keeps, its own position aside. | |
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.
|
inline |
The pool of emitter, or null when it has none.
| emitter | An entity carrying a ParticleEmitter. |