Handles
- ArrowCap
- BeginGUI
- Button
- CircleCap
- ClearCamera
- color
- ConeCap
- CubeCap
- currentCamera
- CylinderCap
- Disc
- DotCap
- DrawAAPolyLine
- DrawBezier
- DrawCamera
- DrawCapFunction
- DrawLine
- DrawPolyLine
- DrawSolidArc
- DrawSolidDisc
- DrawSolidRectangleWithOutline
- DrawWireArc
- DrawWireDisc
- EndGUI
- FreeMoveHandle
- FreeRotateHandle
- Label
- lighting
- matrix
- PositionHandle
- RadiusHandle
- RectangleCap
- RotationHandle
- ScaleHandle
- ScaleSlider
- ScaleValueHandle
- SetCamera
- Slider2D
- Slider
- SnapValue
- SphereCap
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。
最后修改:2011年7月9日 Saturday 13:07