ProtectedconstructorOptionalisInternalConstructor: booleanProtected_An instance to the currently active preferences panel.
Protected_An array that contains all the PreferencesPanel instances visible on the
UserSettingsWindow.
Protected_The UIStack control that allows toggling visibility between the contents of
all the PreferencesPanel on the window.
Protected_The main tab bar that allows switching between available panels.
ProtectedonAn internal event callback that gets called whenever the user clicks on a tab. This will switch the currently active preferences panel.
The tab/panel ID the user has switched to.
Static ReadonlydefaultThe default window content padding to be used for modal windows.
Static ReadonlydefaultThe default window padding to be used for modal windows.
StaticsharedIf a preferences window is open, this returns the currently open preferences window.
Activates the tab button with the specified unique index.
Returns the height of the content area of the window, in points. The content area represents the area of the window not including the title bar and the border.
Returns the height of the content area of the window, in pixels. The content area represents the area of the window not including the title bar and the border.
Returns the width of the content area of the window, in points. The content area represents the area of the window not including the title bar and the border.
Returns the width of the content area of the window, in pixels. The content area represents the area of the window not including the title bar and the border.
Sets the height of the window in points.
Sets the height of the window in pixels.
Check whether the window was destroyed.
Checks whether the window currently has keyboard focus.
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 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.
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.
Sets the width of the window in points.
Sets the width of the window in pixels.
Activates the first loaded preferences panel matching the specified panel type.
Centers the window within it's parent window.
Shortcut triggered when Escape is pressed.
Determines if the window is visible.
Virtual
Called whenever the user or the program requested to close the window.
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.
ProtectedonVirtual
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.
ProtectedsetActivates the panel with the specified unique ID.
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.
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.
StaticconstructOpens a ModalWindow of the specified type.
The type of the ModalWindow to open.
OptionalmodalOptions: EnumValue<ModalWindowOption>OptionalparentWindow: KeyWindowBase | EditorWindowOptionalwindowOptions: anyProtected StaticconstructConstructs the Modal from script.
StaticopenOpens the Preferences editor window.
StaticopenOpens the Preferences editor window and activates the specified panel type when available.
The UserSettingsWindow implements a ModalWindow that allows configuring and setting user specific preferences for RSX.