Sets or modifies a rectangular boundary constraining the particles.
To remove the boundary, set Phaser.GameObjects.Particles.ParticleEmitter#bounds to null.
name | type | description |
---|---|---|
x | number | Phaser.Types.GameObjects.Particles.ParticleEmitterBounds | Phaser.Types.GameObjects.Particles.ParticleEmitterBoundsAlt |
The x-coordinate of the left edge of the boundary, or an object representing a rectangle. |
y | number |
The y-coordinate of the top edge of the boundary. |
width | number |
The width of the boundary. |
height | number |
The height of the boundary. |
This Particle Emitter.