SetCameraLookAt

Description

Rotates the camera to look at a particular point in space with an optional roll value. "looking at" is defined as aligning the camera's local Z axis to point its positive side at the given point. This can be achieved using only the Y and X angles in Euler notation, so you can specify an optional Z angle in degrees to roll the camera left of right whilst always looking at the same spot.

Definition

SetCameraLookAt( cameraID, x, y, z, roll )

Parameters