Phaser API Documentation

  Version: 
rotateX()

Description:

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

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

Type:
  • number
Since: 3.60.0