Phaser API Documentation

  Version: 
setAlpha([value])

Description:

Set the Alpha level of this Camera. The alpha controls the opacity of the Camera as it renders. Alpha values are provided as a float between 0, fully transparent, and 1, fully opaque.

Parameters:

name type arguments Default description
value number <optional> 1

The Camera alpha value.

Returns:
Description:

This Camera instance.

Since: 3.11.0