Phaser API Documentation

  Version: 
night([intensity], [multiply])

Description:

Applies a night vision tone to this ColorMatrix.

Parameters:

name type arguments Default description
intensity number <optional> 0.1

The intensity of this effect.

multiply boolean <optional> false

Multiply the resulting ColorMatrix (true), or set it (false) ?

Returns:
Description:

This ColorMatrix instance.

Since: 3.50.0