Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

effects.EmitterOptions

What an emitter bursts, where and how often.

Fields

emitterOptions.at: (vector | types.Entity | types.Player)?
#

a fixed position, or an entity or player it follows; give this or points

emitterOptions.duration: number?
#

stops itself after this many seconds; default never

emitterOptions.every: number?
#

seconds between bursts, at least 0.05; default 1

emitterOptions.particles: { effects.Particle }
#

burst at every point, at least one

emitterOptions.points: { effects.EmitterPoint }?
#

the points it bursts at; give this or at

emitterOptions.sample: number?
#

at most this many points a burst, taken in turn so every point gets its share; default all

emitterOptions.to: effects.Audience?
#

who sees it; default everyone in range