Use this class to manage SceneView settings, change the SceneView camera properties, subscribe to events, call SceneView methods, and render open scenes.
| currentDrawingSceneView | The SceneView that is being drawn. |
| lastActiveSceneView | The SceneView that was most recently in focus. |
| sceneViews | The list of all open Scene view windows. |
| camera | The Camera that is rendering this SceneView. |
| cameraDistance | The distance from camera to pivot. |
| cameraMode | The current DrawCameraMode for the Scene view camera. |
| in2DMode | Whether the SceneView is in 2D mode. |
| isRotationLocked | Whether the Scene view camera can be rotated. |
| lastSceneViewRotation | When the Scene view is in 2D mode, this property contains the last camera rotation. |
| m_AudioPlay | M_AudioPlay has been deprecated. Use audioPlay instead (UnityUpgradable) -> audioPlay. |
| m_ValidateTrueMetals | M_ValidateTrueMetals has been deprecated. Use validateTrueMetals instead (UnityUpgradable) -> validateTrueMetals. |
| orthographic | Whether the Scene view camera is set to orthographic mode. |
| pivot | The center point, or pivot, of the Scene view. |
| rotation | The direction of the camera to the pivot of the SceneView. |
| sceneViewState | Use SceneViewState to set the debug options for the Scene view. |
| size | The size of the Scene view measured diagonally. |
| AlignViewToObject | Moves the Scene view to frame a transform. |
| AlignWithView | Aligns the current selection with the position and rotation of the Scene view camera. |
| Frame | Frames the given bounds in the Scene view. |
| FrameSelected | Frame the object selection in the Scene view. |
| IsCameraDrawModeEnabled | Returns true if mode is enabled in the current rendering setup, including custom validators. |
| LookAt | Moves the Scene view to focus on a target. |
| LookAtDirect | LookAt without animating the scene movement. |
| MoveToView | Transforms all selected object to the scene pivot. |
| SetSceneViewShaderReplace | Sets a replacement shader for rendering this Scene view. |
| SupportsStageHandling | Override this method to control whether the Scene view should change when you switch from one stage to another stage. |
| AddCameraMode | Add a custom camera mode to the Scene view camera mode list. |
| ClearUserDefinedCameraModes | Remove all user-defined camera modes. |
| FrameLastActiveSceneView | Frames the currently selected object(s) in the last active Scene view. |
| GetAllSceneCameras | Retrieves an array of all camera components from all open Scene views. |
| GetBuiltinCameraMode | Gets the built-in CameraMode that matches the specified DrawCameraMode. |
| RepaintAll | Repaints every open SceneView. |
| onCameraModeChanged | An event that is invoked when the selected cameraMode changes. |
| focusedWindow | 現在キーボードフォーカスがある EditorWindow (Read Only) |
| mouseOverWindow | 現在マウスのカーソルの下の EditorWindow (Read Only) |
| autoRepaintOnSceneChange | Does the window automatically repaint whenever the Scene has changed? |
| maximized | Is this window maximized? |
| maxSize | このウィンドウの最大サイズ |
| minSize | このウィンドウの最小サイズ |
| position | The desired position of the window in screen space. |
| titleContent | GUIContent は EditorWindows のタイトルを描画するために使用します。 |
| wantsMouseEnterLeaveWindow | Checks whether MouseEnterWindow and MouseLeaveWindow events are received in the GUI in this Editor window. |
| wantsMouseMove | Checks whether MouseMove events are received in the GUI in this Editor window. |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | オブジェクト名 |
| BeginWindows | すべてのポップアップウィンドウを表示するための開始領域をマークします |
| Close | エディターウィンドウを閉じます |
| EndWindows | EditorWindow.BeginWindows で開始したウィンドウグループを閉じます |
| Focus | Moves keyboard focus to another EditorWindow. |
| RemoveNotification | 表示している通知メッセージを停止します |
| Repaint | ウィンドウの再描画を行います |
| SendEvent | Event をウィンドウに送信します |
| Show | Show the EditorWindow window. |
| ShowAsDropDown | ドロップダウンの動作とスタイルを持つウィンドウを表示します |
| ShowAuxWindow | 補助ウィンドウでエディターウィンドウを表示します |
| ShowNotification | 通知メッセージを表示します |
| ShowPopup | ポップアップスタイルのフレーミングを使用するエディターウィンドウを表示します |
| ShowUtility | フローティングのユーティリティウィンドウとしてエディターウィンドウを表示します |
| GetInstanceID | オブジェクトのインスタンス ID を返します |
| ToString | Returns the name of the GameObject. |
| FocusWindowIfItsOpen | エディターウィンドウが開いている場合に探し出し、最初に見つけたものにフォーカスを当てます |
| GetWindow | 現在画面上にある t タイプの最初に見つけた EditorWindow を返します |
| GetWindowWithRect | 現在画面上にある t タイプの最初に見つけた EditorWindow を返します |
| Destroy | ゲームオブジェクトやコンポーネント、アセットを削除します |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
| FindObjectsOfType | タイプから見つけたすべてのアクティブのオブジェクト配列を返します |
| Instantiate | original のオブジェクトをクローンします |
| CreateInstance | ScriptableObject のインスタンスを作成します。 |
| bool | オブジェクトが存在するかどうか |
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
| operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |
| Awake | 新規ウィンドウが開くときに呼び出されます |
| OnDestroy | OnDestroy is called to close the EditorWindow window. |
| OnFocus | ウィンドウがキーボードフォーカスを取得するときに呼び出されます |
| OnGUI | ここに独自のエディターの GUI を実装します |
| OnHierarchyChange | Handler for message that is sent when an object or group of objects in the hierarchy changes. |
| OnInspectorUpdate | OnInspectorUpdate は更新する機会をインスペクターに与え、秒当たり 10 回呼ばれます |
| OnLostFocus | ウィンドウがキーボードフォーカスを失ったときに呼び出されます |
| OnProjectChange | Handler for message that is sent whenever the state of the project changes. |
| OnSelectionChange | 選択が変更されるたび呼び出されます |
| Update | すべての表示されているウィンドウは秒あたり複数回呼び出されます |
| Awake | ScriptableObject スクリプトを開始するとき、この関数は呼び出されます。 |
| OnDestroy | ScriptableObject が破棄されるとき、この関数は呼び出されます。 |
| OnDisable | ScriptableObject クラスのオブジェクトがスコープを外れるとき、この関数は呼び出されます。 |
| OnEnable | オブジェクトがロードされたとき、この関数は呼び出されます。 |