public readonly record struct WindowOptionsWhat to create a window as.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A record struct with defaults that give a sensible 1280×720 resizable window, so new WindowOptions { Title = "Game" } is enough to get started and every other field is an opt-in.
Fields and properties (12)
public string TitleThe title bar text.
public Int2 SizeThe client area's size in logical points.
public Int2? PositionWhere to put the top-left corner, or to let the platform decide.
public Int2? MinimumSizeThe smallest the user may make it, or for no limit.
public Int2? MaximumSizeThe largest the user may make it, or for no limit.
public WindowMode ModeHow it relates to its display.
public bool IsResizableWhether the user can resize it.
public bool IsDecoratedWhether it has a title bar and border.
public bool IsVisibleWhether to show it immediately.
public bool IsAlwaysOnTopWhether it should stay above other windows.
public int? DisplayIndexWhich display to place it on, or for the primary one.
public bool AcceptsDropsWhether files and text dropped on it should be reported.
Methods (1)
public WindowOptions()What to create a window as.
Used by (18)
- PbrShowcaseGamePbrShowcase
- ProgramHelloUi
- ThirdPersonShooterGameThirdPersonShooter
- TriangleGameHelloTriangle
- VideoGameVideoPlayback
- VirtualGeometryGameVirtualGeometry
- AppBuilderVixen.App.Hosting
- AppConfigVixen.App.Hosting
- DesktopGlContextTestsVixen.Platform.Desktop.Tests
- DesktopPlatformVixen.Platform.Desktop
- DesktopPlatformTestsVixen.Platform.Desktop.Tests
- HeadlessPlatformVixen.Platform.Headless
- HeadlessPlatformTestsVixen.Platform.Headless.Tests
- HeadlessWindowVixen.Platform.Headless
- IPlatformVixen.Platform
- PlatformWindowHostVixen.Platform.Ui
- PlatformWindowHostTestsVixen.Platform.Ui.Tests
- ProgramVixen.Editor.Host