Phaser API Documentation

modelScale: Phaser.Math.Vector3


A Vector3 containing the 3D scale of the vertices in this Mesh.

Modifying the components of this property will allow you to scale the vertices within the Mesh. This happens in the preUpdate phase, where each vertex is transformed using the view and projection matrices.

Changing this property will impact all vertices being rendered by this Mesh.

Since: 3.50.0