Fast forwards this Particle Emitter and all of its particles.
Works by running the Emitter preUpdate
handler in a loop until the time
has been reached at delta
steps per loop.
All callbacks and emitter related events that would normally be fired will still be invoked.
You can make an emitter 'fast forward' via the emitter config using the
advance
property. Set this value to the number of ms you wish the
emitter to be fast-forwarded by. Or, call this method post-creation.
name | type | arguments | description |
---|---|---|---|
time | number |
The number of ms to advance the Particle Emitter by. |
|
delta | number | <optional> |
The amount of delta to use for each step. Defaults to 1000 / 60. |
This Particle Emitter.