benilla-re systems structs docs

CParticleEmitter2::Step

function · models · primitive

Address
0x7b5a10 · 566 bytes, up to 0x7b5c45
Meaning
Ages, kills, moves and recolours an emitter's particles for one substep, then runs its child emitters
Confidence
verified, proof one
Finding
models/particles#particle-life
Test
models::particle_time_advance_difftest

Finding: Particle life in models: particles

A step first lets an enabled emitter or one with a pending burst reserve storage, then spawns. Each live particle then ages by dt and dies once its age reaches the lifespan, a NaN age included. A survivor takes gradient 1 once its age is past mid·lifespan, else gradient 0, and moves (Particle motion); a move that returns 0 kills it. A dead particle's slot returns to the free list and the last live index takes its place in the live list.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.