Event sent by the viewport renderer when the viewport camera transform changed.
Event sent by the viewport renderer when a context menu is requested.
Static ReadonlyhighThe feature quality threshold that permits high defintion rendering to be used.
Static ReadonlyselectionStatic ReadonlytoolbarStatic ReadonlytoolbarStatic ReadonlyviewportStatic ReadonlywindowThe default window content padding to be used for editor windows.
Static ReadonlywindowThe default window padding.
Returns the bounds of the window in pixels, relative to its parent container in points.
Returns the bounds of the window in pixels, relative to its parent container in pixels.
Gets the parent editor window this window is docked in. Can be null (for example when window is in the process of dragging and not visible).
Returns the bounds of the contents of the window in pixels, regardless of whether the window is docked or not.
Returns the height of the window contents in points.
Returns the height of the window contents in pixels.
Returns the width of the window contents in points.
Returns the width of the window contents in pixels.
Gets the object that manages handle for this scene window.
Returns the height of the window in points.
Sets the height of the window in pixels.
Gets the icon for the window.
Gets the icon for the window.
Checks whether the window the currently active window in its container. This means the window's tab is active or the window is the only one in its container.
Alt modifier key state.
Control modifier key state.
Determines whether the window has been destroyed or not.
Determines if the drag selection viewport interaction is active.
Makes the window in or out focus. Surface can only be made in focus if it is active.
Checks whether the window currently has keyboard focus.
Determines if the viewport is currently rendering in high dpi mode.
Checks has the TypeScript window been initialized.
Determines is the mouse pointer currently hovering over the editor window.
Shift modifier key state.
Returns the X position of the window in screen coordinates in points.
Specifies the local shortcut context. This context will be automatically disabled whenever the user switches focus from the context.
Gets a unique name for this window. This name will be used for referencing the window by other systems.
Sets the content of the middle Overlay Label.
Gets the parent EditorWindow.
Gets the RenderWindow associated with this EditorWindow.
The SelectionHighlightRenderer for scene activity in the viewport. Typically, selections of other users.
Returns the scene grid.
The ScenePicking instance used to interact with scene objects.
The SceneSelection state to be used.
The scene user activity element.
Returns the bounds of the window in pixels, relative to its parent container in pixels.
The SelectionHighlightRenderer for user selection in the viewport.
Specifies the global shortcut context. This context will be always enabled as long as the window is active.
Checks if the window should handle input. This can be used by window implementations to check before handling input events.
Determines the size of the keu window.
Sets the stylesheet for this window's UI surface.
Sets the stylesheet for this window's UI surface.
Returns the X position of the window in screen coordinates in points.
Get the local undo redo of the window.
Vertex selection renderer.
Returns the scene camera.
Panel handling rendering axes gizmo UI elements.
Returns the width of the window in points.
Sets the width of the window in pixels.
Wireframe renderer for selection.
Makes the window active in its container. This means the windows tab is active and the window is visible.
Add support to the given Drop data type.
The type of the data from OS to support.
The text representing the action of dropping into this window.
Applies a new set of ViewportCameraSettings to the active ViewportCamera.
Centers the window within it's parent window.
Triggered when one of the scene tool buttons is clicked, changing the active scene handle.
Clicked scene tool to activate.
OptionalforceChange: boolean
True to force the change, even if the camera is not idle.
Closes the window but keeps it on the dock manager. Calling raise will make it visible again.
Gets the action name for the given OS drop type. Only relevant if window supports the type.
The OS type of the drag and drop to get the action name from.
The screen on which this window is displayed.
Creates all the necessary components and Scene Objects for the Editor Camera.
ProtectedinitializeDetermines if the window is currently closed. *
Determines if the window is currently docked. *
Determines if the window is currently undocked and floating. *
Returns whether or not this window supports the given OS data type drop.
Virtual
Method to override to implement destruction of custom windows. Called by the engine before the window is destroyed.
Virtual
Method to override to implement custom behavior of a window, called by the engine once per frame.
Virtual
Method to override to implement custom behavior of a window, called by the engine once per frame,
once all the windows had their onEditorUpdate() method called.
Virtual
Method to override to implement initialization of custom windows. Called by the engine after window creation.
Virtual
Triggered whenever the window's screen dpi changes.
Virtual
Triggered whenever the window gains or loses focus.
True if focus was gained, false otherwise.
Virtual
Triggered whenever the window size changes.
New width of the window in pixels.
New height of the window in pixels.
Brings the editor window to focus. If it is docked, it's dock container will switch to the window's tab or if undocked the floating window will gain focus.
Releases all the Editor Camera relevant component references.
Defines the window maximum width and height in points.
Defines the window minimum width and height in points.
The minimum width of the window in points.
The minimum height of the window in points.
Toggle visibility of the Overlay UI Label placed in the middle of the Viewport.
Enable or not the overlay label.
Moves the window on the desktop. Coordinates are in screen space using points.
Moves the window on the desktop. Coordinates are in screen space using pixels.
Resizes the window using a width and height in points.
Resizes the window using a width and height in pixels.
Set the snapping destination that is applied to handle snapping.
The snapping destination.
Parses an array of scene objects and removes elements that are children of elements that are also in the array.
An array of SceneObjects.
An array containing the truncated roots without children.
Updates the current camera render mode.
Checks if the load progress bar or paused state needs to be shown, shows/hides it and updates the progress accordingly.
StaticopenOpens an editor window. If window is already open it returns the existing instance.
Type of window to open.
Instance of the open window.
ReadonlyonNotifies that the scene camera as been moved.
ReadonlyonTriggered whenever window size changes.
ReadonlyonTriggered whenever window's screen dpi changes.
ReadonlyonTriggered whenever window position changes.
ReadonlyonTriggered whenever window receives or loses focus.
ReadonlyonTriggered when the user do a OS drag on top of this window.
ReadonlyonTriggered when the user leaves the mouse from a OS drop.
ReadonlyonTriggered when the user actually drops something on top of this window.
Readonlyon
Displays the scene view camera and various scene controls.