Phaser API Documentation

  Version: 
<readonly> depth: number

Description:

The depth of this Face, which is an average of the z component of all three vertices.

The depth is calculated based on the transformed z value, not the local one.

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