Struct
EditorWindowExtensions.EditorWindowSetup
Syntax
public struct EditorWindowSetup
Constructors
|
Improve this Doc
View Source
EditorWindowSetup(Boolean, Boolean, Boolean, Boolean, Int32, Int32, Boolean, Int32, Int32)
Declaration
public EditorWindowSetup(bool useExisting = false, bool setFocus = true, bool maximized = false, bool setFixedSize = false, int width = 800, int height = 600, bool setPosition = false, int x = 0, int y = 0)
Parameters
Type |
Name |
Description |
System.Boolean |
useExisting |
|
System.Boolean |
setFocus |
|
System.Boolean |
maximized |
|
System.Boolean |
setFixedSize |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Boolean |
setPosition |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
Fields
|
Improve this Doc
View Source
Focus
Should we apply focus to the window?
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasFixedSize
The size of the window in pixels, this will automatically adjust for OS level scaling
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasPosition
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Height
The desired height of the window in pixels.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Maximized
Should we attempt to maximize the window?
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseExisting
Should an existing version of the window be used instead of creating a new instance?
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Width
The desired width of the window in pixels.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
X
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Y
Declaration
Field Value
Type |
Description |
System.Int32 |
|