Phaser API Documentation

  Version: 
setAmbientColor(rgb)

Description:

Set the ambient light color.

Parameters:

name type description
rgb number

The integer RGB color of the ambient light.

Returns:
Description:

This Lights Manager instance.

Since: 3.0.0