Phaser API Documentation

  Version: 
hue([rotation], [multiply])

Description:

Rotates the hues of this ColorMatrix by the value given.

Parameters:

name type arguments Default description
rotation number <optional> 0

The amount of hue rotation to apply to this ColorMatrix, in degrees.

multiply boolean <optional> false

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

Returns:
Description:

This ColorMatrix instance.

Since: 3.50.0