setSize(width, height) → {Phaser.Particles.Arcade.Emitter}
A more compact way of setting the width and height of the emitter.
Parameters
Name | Type | Description |
---|---|---|
width | number | The desired width of the emitter (particles are spawned randomly within these dimensions). |
height | number | The desired height of the emitter. |
Returns
This Emitter instance.
- Source code: particles/arcade/Emitter.js (Line 694)
Please login to continue.