Phaser API Documentation

  Version: 
transformCoordinatesLocal(transformMatrix, width, height, cameraZ)

Description:

Transforms all Face vertices by the given matrix, storing the results in their vx, vy and vz properties.

Parameters:

name type description
transformMatrix Phaser.Math.Matrix4

The transform matrix to apply to this vertex.

width number

The width of the parent Mesh.

height number

The height of the parent Mesh.

cameraZ number

The z position of the MeshCamera.

Returns:
Description:

This Face instance.

Since: 3.50.0
Source: src/geom/mesh/Face.js (Line 296)