ProtectedconstructorOptionalisInternalConstructor: booleanProtected_isProtected_rememberingProtectedonTriggered when the user clicks the cancel button to close the window without confirming the picked color.
ProtectedonTriggered when the user clicks the ok button to confirm its picked color.
StaticlastThe last position of the color picker. If set, it will be reused when the picker is spawned.
Protected Static ReadonlypreviousStatic ReadonlywindowThe default window content padding to be used for drop down windows.
Static ReadonlywindowThe default window padding to be used for drop down windows.
Returns the internal color picker ui element.
Returns the DPI scale factor.
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.
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.
ProtectedonProtectedonProtectedonStaticconstructOpens a DropDownWindow of the specified type.
The type of the DropDownWindow to open.
The parent key window, if null, will use the current.
The window options.
The optional element to anchor the drop down window.
The optional anchor position. If anchorElement is not null, the value is relative to it, otherwise absolute.
OptionalparentWindow: EditorWindowOptional. A custom parent window of the drop down. Will use the parent from the anchor if null.
OptionalwindowOptions: anyOptional. The window options that will be passed to onInitialize.
The newly constructed DropDownWindow.
Protected StaticconstructConstructs the DropDownWindow from script.
StaticopenCreates a new window with the provided color displayed by the color picker.
A dropdown window that displays a Color Picker element to allow the user select a color.