Overview
Maintains a fixed pool of particle slots shared by ParticleSystemComponent instances.
update advances emitter modules (engine-specific ParticleSystem types).
preRender builds ParticleEmitterCommand list for ParticlesPass. Supports editor time scaling separate from game delta.
How it works
update()simulates emitters against the shared particle pool.preRender()builds render commands for active emitters.ParticlesPassrenders billboards duringModuleRender::renderScene.
Internal architecture
ModuleParticleSystem
├── Particle pool + slot bookkeeping
├── EmitterInstance ownership
├── update() — simulation
├── buildParticleCommands() — render prep
└── ParticlesPass (GPU billboards)
Relationships
ModuleScenecache ofParticleSystemComponent; reset on play start (ModuleGameView).
Technical features
- Fixed particle pool with slot bookkeeping.
- Emitter modules and dedicated
ParticlesPassGPU path. - Editor time scaling separate from game delta.
Implementation notes
- Verified: pool, commands, dedicated render pass.