Skip to main content

Class WindowCreateInfo

Simple wrapper for information necessary to create an application window

Assembly: ImGuiScene.dll
View Source
Declaration
public class WindowCreateInfo

Fields

Title

The window title. This will not be visible for fullscreen windows except in things like task manager.

View Source
Declaration
public string Title

XPos

The x location of the top left corner of the window. Ignored for fullscreen windows.

View Source
Declaration
public int XPos

YPos

The y location of the top left corner of the window. Ignored for fullscreen windows.

View Source
Declaration
public int YPos

Width

The width of the window. Ignored for fullscreen windows.

View Source
Declaration
public int Width

Height

The height of the window. Ignored for fullscreen windows.

View Source
Declaration
public int Height

Fullscreen

Whether the window should be created fullscreen. This is a borderless windowed mode and will not affect desktop resolution. Fullscreen windows are "always on top".

View Source
Declaration
public bool Fullscreen

TransparentColor

An optional float[4] color key used to make any matching portion of the window's client area transparent. For example, setting this to magenta will then make any area where you render magenta instead be fully transparent to the window(s) behind this one. Values are red, green, blue from 0 to 1.

View Source
Declaration
public float[] TransparentColor