Window Info
Reports the position, size, display and state of a Window operator's window.
Parameters
| Name | Type | Description |
|---|---|---|
| Resolutionoutput | Vector 2 Int | The size of what the window shows in pixels of the display, which is the size to render at. |
| Logical Sizeoutput | Vector 2 Int | The same size in logical pixels, the unit the operating system sizes its windows in. |
| Positionoutput | Vector 2 Int | Where the top left corner of the window is on the screen. |
| DPI Scaleoutput | Float | How many pixels of the display one logical pixel is, so 2 on a 200% display. |
| Refresh Rateoutput | Float | How many frames per second the display the window is on can show. |
| Openoutput | Bool | Whether the window is on screen. |
| Fullscreenoutput | Bool | Whether the window is open and fullscreen. |
| Minimizedoutput | Bool | Whether the window is open but minimized. |
| Window | Reference | The Window operator to report on. Only Window operators in this graph or a graph inside it can be picked. |
The Window Info operator reports what a window actually is: where it is, how big, on which display and whether it is open. This can differ from what the Window operator asks for, because the window can be dragged, resized or closed by hand.
Use it for the resolution. Connect it to the size of the generators at the start of a chain, and everything renders at exactly the size the window shows. Window Info can point at a Window later in the same graph, without a connection running backwards.
While the window is closed or minimized, the position, sizes, scale and refresh rate keep their last known values. Before the window has been open, they are what the Window operator asks for, with a scale of 1 and a refresh rate of 60.
See also Window.
Keywords: resolution, screen size, dpi, scale, refresh rate, monitor, display