The returned value sets what the property will be at the START of the particles life, on emit.
This method is only used when you have provided a custom emit callback.
name | type | arguments | description |
---|---|---|---|
particle | Phaser.GameObjects.Particles.Particle |
The particle. |
|
key | string |
The name of the property. |
|
value | number | <optional> |
The current value of the property. |
The new value of the property.