sm.camera.setDirection

Sets the direction the camera is aiming.

Kind: Function

Environments: Game

Game

sm.camera.setDirection( direction )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
direction Vec3 The direction of the camera's aim.