Particles.Arcade.Emitter#setSize()

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)
doc_phaser
2017-02-14 10:58:31
Comments
Leave a Comment

Please login to continue.