Phaser API Documentation

  Version: 
defaultUpdate(particle, key, t, value)

Description:

The returned value updates the property for the duration of the particles life.

Parameters:

name type description
particle Phaser.GameObjects.Particles.Particle

The particle.

key string

The name of the property.

t number

The T value (between 0 and 1)

value number

The current value of the property.

Returns:
Description:

The new value of the property.

Type:
  • number
Since: 3.0.0