Phaser API Documentation

  Version: 
<static> HSVColorWheel([s], [v])

Description:

Generates an HSV color wheel which is an array of 360 Color objects, for each step of the wheel.

Parameters:

name type arguments Default description
s number <optional> 1

The saturation, in the range 0 - 1.

v number <optional> 1

The value, in the range 0 - 1.

Returns:
Description:

An array containing 360 ColorObject elements, where each element contains a Color object corresponding to the color at that point in the HSV color wheel.

Since: 3.0.0