OptionalisInternalConstructor: booleanProtected_boneProtected_colliderProtected_colliderProtected_meshProtected_normalsProtected_previewThe window that manages the preview of the loaded resource.
Protected_resourceThe window that provides a discussion for the resource.
Protected_resourceThe resource that is currently being edited.
Protected_resourceThe window that inspects the loaded resource.
Protected_skeletonProtected_skeletonProtected_toolProtected_uvProtected_vertexProtected_viewportThe window that manages the viewport settings for the resource preview scene.
Protected_wireframeProtectedonInvoked when the user modified the resource in the UI.
The resource resource
ProtectedonInvoked when the viewport camera settings have been modified.
The new viewport camera settings
ProtectedonInvoked when the viewport settings are populated.
Returns the DPI scale factor.
A list of all currently active dockable windows on the key window.
A set of flags that customize the behavior of the key window.
The key window flags.
Sets the height of the window in points.
Sets the height of the window in pixels.
Gets the icon for the window.
Determines if the key window's tab is visible.
Determines whether the window has been destroyed or not.
Checks whether the window currently has keyboard focus.
Determines if the resource is dirty.
Gets the key window which owns this window.
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 the window of the owning container. The owning container is window that serves as the host for one or multiple key windows.
Gets the parent EditorWindow.
Gets the RenderWindow associated with this EditorWindow.
Specifies the global shortcut context. This context will be always enabled as long as the window is active.
Gets the primary tool bar element.
Returns the X position of the window in screen coordinates in points.
Sets the width of the window in points.
Sets the width of the window in pixels.
StaticcurrentProtectedcreateCreates a new EditorWindow for usage on this KeyWindow. If the window was already opened before, the window won't be made visible.
The type of the editor window to be created.
The newly created editor window.
Creates the KeyWindowTutorial instance for the key window.
The KeyWindowTutorial instance or null if the key window does not support tutorials.
This method is called after the onInitialize method, so all buttons and elements should already be created that are required for the tutorial. If the key window requires dynamic resolution of references for the tutorial, the KeyWindowTutorial must be subclasses and the onResolveTutorialElement method must be overridden.
ProtecteddidProtecteddidDocks the specified window to the key window. If the window does not exist yet, a new instance will be created.
Type of window to dock.
Optionallocation: EnumValue<DockLocation, number>The dock location.
Optionalreference: DockableEditorWindowThe reference window. The location will determine how and where the new window will be docked.
OptionalrelativeSize: numberThe relative size of the new window. Setting it to 0.5, causes dockwindows to be splitted equally.
Instance of the docked window.
ProtecteddockDocks a new EditorWindow into the given location.
The type of the editor window to be docked.
The relative location to dock the window to, relative to reference.
The reference window. Used to determine the meaning location.
OptionalrelativeSize: numberThe relative size of the docked window. Setting it to 0.5, causes both the first and second window to have the same size.
The editor window instance of the given type.
Sets the given window type as locked. Disables undocking or docking
of other windows on the same space. Will also hide the tab bar and the window title.
ProtectedfreezeFreezes the dockable editor window of type windowType.
The type of the window to freeze.
Attempts to get a previously opened DockableEditorWindow.
Instance of the open window or null, if it does not exist yet.
Gets the current dockable window layout.
The dockable editor window layout.
ProtectedgetProtectedgetProtectedgetGets an existing EditorWindow for usage on this KeyWindow.
The type of the editor window to be retrieved or created.
The editor window instance of the given type.
ProtectedisVirtualDetermines if the resource is being edited by this key window.
VirtualLoads the resource with the specified resource UUID.
The resource uuid.
ProtectedonProtectedonProtectedonProtectedonProtectedonProtectedonProtectedonOptionalmeshUVData: MeshUVViewerDataProtectedonProtectedonVirtualInvoked when a resource changed its dirty state.
ProtectedonVirtualInvoked whenever a Resource handle changed.
ProtectedonProtectedonProtectedonVirtualInvoked every time a resource finalizes its streaming operation.
ProtectedonInvoked when an undo command has been committed.
Opens a DockableEditorWindow.
Instance of the open window.
ProtectedopenOpens a new EditorWindow for usage on this KeyWindow. If the window is already opened, it will be focused instead.
The type of the editor window to be created.
The newly opened editor window.
VirtualDetermines if the key window must be recreated when the specified module is being reloaded. This is an important task to do if the key window edits classes from the module that is being reloaded. In that case, the key window must be recreated - otherwise, it references outdated classes which results in undefined behavior that can destabilize the application.
The following are possible modules:
The fully qualified name of the module to be reloaded.
ProtectedrevertSaves the resource to its resource location.
Determines if the user has to confirm the save operation.
OptionalonSuccess: (() => void)Action called when the operation succeeds.
OptionalonFailure: (() => void)Action called when saving the scene failed, or the user declined to save.
VirtualSets a predefined dockable editor window layout.
The layout to be set.
ProtectedupdateProtectedwillProtectedwillProtected StaticopenInternal method used by the managed side to open a newly created KeyWindow object instance.
The key window instance.
StaticopenStaticopenOpens a new MeshKeyWindow with the specified resource.
The Mesh to be loaded in the key window.
The newly created key window.
StaticopenOpens a new MeshKeyWindow with the specified resourceUUID.
The newly created key window.
Protected StaticopenOpens a new ResourceKeyWindowBase of type with the specified resource.
The type of the ResourceKeyWindowBase subclass.
The Resource to be loaded in the key window.
The newly created key window.
Protected StaticopenOpens a new ResourceKeyWindowBase of type with the specified resourceUUID.
The type of the ResourceKeyWindowBase subclass.
The Resource to be loaded in the key window.
The newly created key window.
The MeshKeyWindow implements a KeyWindow to edit a Mesh.