Gets the number of particles to emit.
Current particle engine time
Optionalrng: RNGSets the startTime and nextTime properties.
AbstractinitializeAbstractresetResets the emission interval, drawing the next interval from timePan.
Separate from the base Initializer.init (which has a different signature)
so the emitter's seeded rng can be threaded in without an override clash.
Optionalrng: RNGStaticfromCreates a Rate initializer from JSON.
The JSON to construct the instance from.
StaticrequiresDetermines if the initializer requires a WebGL API to be provided to its constructor.
Calculates the rate of particle emission.
NOTE This doesn't need to be an initializer, it doesn't have an initialize method, it overrides the base init method and it is only relevent to the Emitter class. It would be better to move this to the Emitter module itself as a standalone class.