Handles.SetCamera 设置相机

static function SetCamera (camera : Camera) : void
static function SetCamera (position : Rect, camera : Camera) : void

Description描述

Set the current camera so all Handles and Gizmos are draw with its settings.

设置当前相机,因此所有控制柄和Gizmo被绘制,带有它的设置。

Sets Camera.current to be camera and sets its pixelRect.. This does not draw the camera, only sets it to be "active". To draw it use DrawCamera.

设置Camera.current到相机被设置它的pixelRect。这并不绘制相机,仅设置它为激活的,绘制相机使用DrawCamera

Page last updated: 2011-7-9