Phaser API Documentation

  Version: 
rotateY()

Description:

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

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

Type:
  • number
Since: 3.60.0