new RandomZone(source)
Parameters:
Name | Type | Description |
---|---|---|
source |
Phaser.Types.GameObjects.Particles.RandomZoneSource | An object instance with a |
- Since: 3.0.0
- Source: src/gameobjects/particles/zones/RandomZone.js (Line 10)
Members
-
source :Phaser.Types.GameObjects.Particles.RandomZoneSource
-
An object instance with a
getRandomPoint(point)
method.Type:
- Since: 3.0.0
- Source: src/gameobjects/particles/zones/RandomZone.js (Line 27)
Methods
-
getPoint(particle)
-
Get the next point in the Zone and set its coordinates on the given Particle.
Parameters:
Name Type Description particle
Phaser.GameObjects.Particles.Particle The Particle.
- Since: 3.0.0
- Source: src/gameobjects/particles/zones/RandomZone.js (Line 47)