sm.camera.setRotation

Sets the rotation of the camera.

Kind: Function

Environments: Game

Game

sm.camera.setRotation( rotation )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
rotation Quat The rotation of the camera.