The returned value updates the property for the duration of the particles life.
This method is only used when you have provided a custom update callback.
name | type | description |
---|---|---|
particle | Phaser.GameObjects.Particles.Particle |
The particle. |
key | string |
The name of the property. |
t | number |
The current normalized lifetime of the particle, between 0 (birth) and 1 (death). |
value | number |
The current value of the property. |
The new value of the property.