SetCameraOffCenter
Description
Sets the camera to use an off center projection matrix. You must set the projection matrix values by using SetCameraBounds and SetCameraRange.
Definition
SetCameraOffCenter( cameraID, mode )
void agk::SetCameraOffCenter( UINT cameraID, int mode )
Parameters
- cameraID - The ID of the camera to modify, the main camera is ID 1.
- mode - 1 to use an off center projection matrix, 0 to use a normal matrix, default is 0.