Handles.DrawCamera Manual     Reference     Scripting  
Scripting > Editor Classes > Handles
Handles.DrawCamera

static function DrawCamera (position : Rect, camera : Camera, renderMode : int) : void

Parameters

NameDescription
position the area to draw the camera within in GUI coordinates
camera the camera to draw.

Description

Draws a camera inside a rectangle.

This function alse sets Camera.current to camera, and sets its pixelrect.