An onUpdate
callback that returns an eased value between the
Phaser.GameObjects.Particles.EmitterColorOp#start and Phaser.GameObjects.Particles.EmitterColorOp#end
range.
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). |
The new value of the property.