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)

token

Name of the window. If there are multiple windows with the same name the first one found will be used.

Widget Path (widgetPath)

token

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)

bool

If true then only viewport windows will be considered.

False

Outputs

Name

Type

Description

Default

Height (height)

float

Height of the window in pixels.

Width (width)

float

Width of the window in pixels.