Expand description
Bounded particles, seeded emitters, ribbons/trails and short-lived beams. Simulation and geometry use first-party math; no GPU/device dependency.
Structs§
- Beam
Desc - Beam
Pool - Beam
View - Burst
Admission - Read-only burst admission at the pool’s current occupancy.
- Direction
Cone - Emission
Stats - Emitter
- Particle position/velocity and spawn shapes are emitter-local; acceleration remains world-space so rotating a nozzle does not rotate gravity. Counter-seeded emission: dropped work still advances the sequence without iterating it, so pool capacity/quality cannot perturb a gameplay RNG or the random values assigned to later requested particles. No per-frame allocation.
- Emitter
Desc - Emitter
Transform - Particle
Desc - Particle
Motion - Particle
Pool - Particle
View - Ribbon
Path - Ribbon
Point - Ribbon
Triangle - Ribbon
Triangles - Triangle iterator with bounded miters and explicit breaks; no allocation.
- Ribbon
Vertex - Trail
- Fixed ring, distance resampling and a current head. Capacity bounds the visible
point count (including that head); one extra head value is stored separately.
Stops and teleports create breaks; old segments fade naturally without bridges.
Use
Self::break_segmentorSelf::teleportfor explicit discontinuities, including short respawn jumps, andSelf::clearto reset all trail history. - Trail
Config - Trail
Sample - Trail
Stats
Enums§
Constants§
- MAX_
BEAMS - MAX_
EFFECT_ LIFETIME - MAX_
EMISSION_ PER_ UPDATE - MAX_
PARTICLES - MAX_
RIBBON_ POINTS - MAX_
RIBBON_ WIDTH - Largest accepted full ribbon width, in world units.
- MAX_
TRAIL_ POINTS