Skip to main content

Module emitter

Module emitter 

Source

Structs§

Emitter
A radial particle field with a real per-particle lifecycle: born, travelling, dying and immediately respawned, continuously, so the field at any instant is a mix of ages rather than one cohort.
EmitterOrigin
A point in the emitter’s own box, in pixels from its top-left corner.
EmitterRange
A closed range [min, max] a per-particle trait is drawn from. Order does not matter on input — the smaller value always acts as the minimum.
EmitterSpeed
How fast a particle travels away from its birth point over its life.

Enums§

EmitterDirection
Where newly spawned particles appear and which way they travel. radial is the only shape today: particles are born on a ring around origin and travel in a straight line outward from it.
EmitterShape
The mark painted for each particle.