Phaser API Documentation

  Version: 
alpha: number

Description:

Set the alpha value of this Face.

Each vertex is given the same value. If you need to adjust the alpha on a per-vertex basis then use the Vertex.alpha property instead.

When getting the alpha of this Face, it will return an average of the alpha component of all three vertices.

Type:
number
Since: 3.50.0
Source: src/geom/mesh/Face.js (Line 487)