Read Window Size (BETA)#
Outputs the size of a UI window.
Installation#
To use this Node, you must enable omni.graph.ui_nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Name (name) |
|
Name of the window. If there are multiple windows with the same name the first one found will be used. |
|
Widget Path (widgetPath) |
|
Full path to a widget in the window. If specified then ‘name’ will be ignored and the window containing the widget will be used. |
|
Is Viewport? (isViewport) |
|
If true then only viewport windows will be considered. |
False |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Height (height) |
|
Height of the window in pixels. |
|
Width (width) |
|
Width of the window in pixels. |