sm.camera.setRotation
Sets the rotation of the camera.
Kind: Function
Environments: Game
Game
sm.camera.setRotation( rotation )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
rotation |
Quat | The rotation of the camera. |
Sets the rotation of the camera.
Kind: Function
Environments: Game
sm.camera.setRotation( rotation )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
rotation |
Quat | The rotation of the camera. |