EmitterOpt: shape?: ShapeType
Shape of the emitter. If given, particles spawn within this shape.
lifetime?: number
Lifetime of the emitter.
rate?: number
Rate of emission in particles per second if the emitter should emit out of itself.
position: Vec2
Position (relative) of emission.
direction: number
Direction of emission.
spread: number
Spread (cone) of emission around the direction.
shape?: ShapeType
Shape of the emitter. If given, particles spawn within this shape.
lifetime?: number
Lifetime of the emitter.
rate?: number
Rate of emission in particles per second if the emitter should emit out of itself.
position: Vec2
Position (relative) of emission.
direction: number
Direction of emission.
spread: number
Spread (cone) of emission around the direction.
Options for the particles 's component