Phaser API Documentation

  Version: 

Description:

A color tint value that is applied to the texture of the emitted particle. The value should be given in hex format, i.e. 0xff0000 for a red tint, and should not include the alpha channel.

Tints are additive, meaning a tint value of white (0xffffff) will effectively reset the tint to nothing.

Modify the ParticleEmitter.tintFill property to change between an additive and replacement tint mode.

The tint value will be overriden if a color array is provided.

This is a WebGL only feature.

Accessing this property should typically return a number. However, it can be set to any valid EmitterOp onEmit type.

Since: 3.60.0