Constructs a Position initializer instance.
The zones to use as bounds for the particle's starting position
Adds a zone or zones to this.zones.
The zones to add
Resets the initializer properties. Clears all previously set zones and resets the zones according to args passed.
The zones to use as bounds for the particle's starting position
StaticfromCreates a Position initializer from JSON.
The JSON to construct the instance from.
StaticrequiresDetermines if the initializer requires a WebGL API to be provided to its constructor.
Sets the starting position property for initialized particles. This is derived from a zone randomly chosen from those supplied to the constructor.