Window
Shows a texture in a window of its own, on any display, windowed or fullscreen.
Inputs
| Name | Type | Description |
|---|---|---|
| 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. |
| Title | String | The text in the title bar. |
| Scaling | Enum | How the texture is fitted to the window when their sizes differ. None shows each pixel of the texture as one pixel of the display, Fit shows all of the texture and Fill covers the window.Choices: None, Fit, Fill, Stretch |
| Filteradvanced | Enum | How the texture is read between its pixels when it is shown larger. Nearest keeps hard pixels, and both Linear choices blend them alike.Choices: Nearest, Linear Fast, Linear Nice |
| Positionadvanced | Vector 2 Int | Where the top left corner of the window is on the screen while it is not fullscreen. |
| Sizeadvanced | Vector 2 Int | The width and height of the window while it is not fullscreen, in the chosen unit. |
| Size Unitadvanced | Enum | The unit of the size. Physical pixels are the pixels of the display, and Logical pixels are scaled with the display, so a window looks the same size on a 100% and a 200% display.Choices: Physical pixels, Logical pixels |
| Decoratedadvanced | Bool | Whether the window has a title bar and a border. |
| Transparentadvanced | Bool | Whether the desktop shows through where the texture is not opaque, on macOS only for now. |
| Always On Topadvanced | Bool | Whether the window stays above all other normal windows. |
| Interactiveadvanced | Bool | Whether the window takes mouse and keyboard input. When off, clicks go through to whatever is behind it. |
The Window operator shows a texture in a window of its own, separate from the editor. Fullscreen on a second display or a projector, it is the output of the show. For an LED wall or a pixel mapped output, set Scaling to None and render at the resolution Window Info reports, so the texture fills the window exactly.
The parameters are requests, not a fixed state. The window follows a parameter when it changes, and in between it 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. Fullscreen fills the display the window is on, so move the window to a display before you make it fullscreen there. While the window is interactive, F switches fullscreen on and off and Escape leaves it.
Turn off Decorated and Interactive together for a borderless overlay that ignores the mouse.
See also Window Info, Resize.
Keywords: output, screen, display, monitor, projector, fullscreen, present, show