Phaser API Documentation

  Version: 
rotateZ()

Description:

The z rotation of the Model in 3D space, as specified in degrees.

If you need the value in radians use the modelRotation.z property directly.

Type:
  • number
Since: 3.60.0