Phaser API Documentation

  Version: 
easeValueUpdate(particle, key, t)

Description:

An onUpdate callback that returns an eased value between the Phaser.GameObjects.Particles.EmitterColorOp#start and Phaser.GameObjects.Particles.EmitterColorOp#end range.

Parameters:

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).

Returns:
Description:

The new value of the property.

Type:
  • number
Since: 3.60.0