Window
Shows a texture in a window of its own, on any display, windowed or fullscreen.
Inputs
| Name | Type | Description |
|---|---|---|
| Texture Input | Texture | The texture to show. With nothing connected the window is black. |
Parameters
| Name | Type | Description |
|---|---|---|
| Open | Bool | Whether the window is on screen. |
| Fullscreen | Bool | Whether the window fills the display it is on. |
| Size | Vector 2 Int | The width and height of the window while it is not fullscreen, in the chosen unit. |
| Size Unit | Enum | Whether the size counts the pixels of the display or pixels scaled with the display, as the operating system sizes its own windows.Choices: Physical pixels, Logical pixels |
| Position | Vector 2 Int | Where the top left corner of the window is on the screen while it is not fullscreen. |
| Title | String | The text in the title bar. |
| Decorated | Bool | Whether the window has a title bar and a border. |
| Transparent | Bool | Whether the desktop shows through where the texture is not opaque. |
| Always On Top | Bool | Whether the window stays above all other normal windows. |
| Interactive | Bool | Whether the window takes mouse and keyboard input. When off, clicks go through to whatever is behind it. |
Window is how a texture gets onto a screen. It opens a window of its own, separate from the editor, and shows the incoming texture in it. The texture is fitted inside the window with its proportions kept, on a black background. Put the window on a second display or a projector, make it fullscreen, and it becomes the output of the show.
The parameters are requests, not a fixed state. The window follows a parameter when it changes, and in between the window can be dragged, resized or closed by hand and stays that way. A window closed with its close button stays closed until Open is turned off and on again. The position and size only apply while the window is not fullscreen. Fullscreen takes the display the window is on at that moment, so the way to fill a particular display is to move the window there first. While the window is interactive, F switches fullscreen on and off and Escape leaves it.
Physical pixels are the pixels of the display, so a size in them is the resolution the window shows. Logical pixels are scaled with the display, the way the operating system sizes its own windows, so the same number gives a window that looks the same size on a 100% and a 200% display.
Transparent lets the desktop show through wherever the texture is not fully opaque. Turning it on or off while the window is open recreates the window, because the operating system only decides this when a window is made. On some systems transparency is not available and the window stays opaque. Turning Decorated off and Interactive off together gives a borderless overlay that ignores the mouse.
Window Info reports what the window actually is, so the graph can render at the resolution the window has.
Keywords: output, screen, display, monitor, projector, fullscreen, present, show