Phaser API Documentation

  Version: 
setIntensity(intensity)

Description:

Set the intensity of the light.

Parameters:

name type description
intensity number

The intensity of the light.

Returns:
Description:

This Light object.

Since: 3.0.0