CameraViewport
Sets the camera's area of the screen.
CameraViewport ( camera,x,y,width,height )
Parameters
- camera
- the camera's handle.
- x
- the area's left edge, in pixels.
- y
- its top edge.
- width
- how wide it is.
- height
- how tall it is.
Description
Sets the part of the display a camera draws into, for split screens, a rear-view mirror or a map in the corner.
