Sets or removes the Phaser.GameObjects.Particles.ParticleEmitter#emitZone.
An EdgeZone places particles on its edges. Its source can be a Curve, Path, Circle, Ellipse, Line, Polygon, Rectangle, or Triangle; or any object with a suitable getPoints method.
A RandomZone places randomly within its interior. Its source can be a Circle, Ellipse, Line, Polygon, Rectangle, or Triangle; or any object with a suitable getRandomPoint method.
name | type | arguments | description |
---|---|---|---|
zoneConfig | Phaser.Types.GameObjects.Particles.ParticleEmitterEdgeZoneConfig | Phaser.Types.GameObjects.Particles.ParticleEmitterRandomZoneConfig | <optional> |
An object describing the zone, or |
This Particle Emitter.