Camera.pixelRect Manual     Reference     Scripting  
Scripting > Runtime Classes > Camera
Camera.pixelRect

var pixelRect : Rect

Description

Where on the screen is the camera rendered in pixel coordinates.

function Update () {
var r = camera.pixelRect;
print ("Camera displays from " + r.xMin + " to " + r.xMax + " pixel");
}