Skip to main content

Module emitter

Module emitter 

Source
Expand description

Particle emitter system: shapes, spawn modes, rate curves, transform animation, LOD.

Structs§

ColorOverLifetime
A colour/alpha gradient evaluated over a particle’s normalised lifetime (0..1).
Emitter
A running particle emitter instance.
EmitterBuilder
Fluent builder for EmitterConfig.
EmitterConfig
Full configuration for a particle emitter.
EmitterPool
Manages a collection of active emitters.
EmitterTransformAnim
Animates an emitter’s transform over time.
LodController
LOD controller attached to an emitter.
LodLevel
A single LOD level mapping a view distance to a particle count multiplier.
Particle
A live particle instance managed by an emitter.
ParticleTag
Bitmask tag applied to particles for force-field masking and categorisation.
SizeOverLifetime
TransformKeyframe
A keyframe for emitter transform animation.

Enums§

EmitterShape
The geometric shape from which particles are born.
SpawnCurve
How spawn rate is scheduled over the emitter’s lifetime.
SpawnMode
Whether the emitter emits continuously or fires a one-shot burst.
VelocityMode
How the initial velocity of a spawned particle is computed.

Functions§

lcg_f32
lcg_next
lcg_range