SetCameraBounds
Description
Sets the parameters for an off center projection matrix. The near and far values are set separately with SetCameraRange. To use an off center projection matrix you must activate it with SetCameraOffCenter.
Definition
SetCameraBounds( cameraID, left, right, top, bottom )
void agk::SetCameraBounds( uint32_t cameraID, float left, float right, float top, float bottom )
Parameters
- cameraID - The ID of the camera to modify, the main camera is ID 1.
- left - The left component of the projection matrix.
- right - The right component of the projection matrix.
- top - The top component of the projection matrix.
- bottom - The bottom component of the projection matrix.