SetCamera
Set the current camera so all Handles and Gizmos are draw with its settings.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
SetCamera(Camera)
Set the current camera so all Handles and Gizmos are draw with its settings.
public static void SetCamera(Camera camera)
Parameters
Remarks
Sets Camera.current to be and sets its pixelRect.. This does not draw the camera, only sets it to be "active". To draw it use Handles.DrawCamera.
cameraSetCamera(Rect, Camera)
Set the current camera so all Handles and Gizmos are draw with its settings.
public static void SetCamera(Rect position, Camera camera)
Parameters
Remarks
Sets Camera.current to be and sets its pixelRect.. This does not draw the camera, only sets it to be "active". To draw it use Handles.DrawCamera.
camera