struct ParticleBurst

Specifies a burst of particles that occurs at a certain time point.

Public

Constructors

ParticleBurst

ParticleBurst() = default

ParticleBurst

ParticleBurst(float time, FloatDistribution count, u32 cycles = 1, float interval = 1.F)

Fields

Time

float Time

Time at which to trigger the burst, in seconds.

Count

FloatDistribution Count

Number of particles to emit when the burst triggers.

Cycles

u32 Cycles

Determines how many times to trigger the burst.

If 0 the burst will trigger infinitely. Use to to control the time between each cycle.

Interval

float Interval

Controls how much time needs to pass before triggering another burst cycle, in seconds.