Get Viewport Resolution

Gets the resolution of the target viewport.

Installation

To use this node enable omni.graph.ui_nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Viewport (inputs:viewport)

token

Name of the viewport, or empty for the default viewport

Viewport

Outputs

Name

Type

Descripton

Default

Resolution (outputs:resolution)

int[2]

The resolution of the target viewport

None

Metadata

Name

Value

Unique ID

omni.graph.ui_nodes.GetViewportResolution

Version

1

Extension

omni.graph.ui_nodes

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Get Viewport Resolution

Categories

viewport

Generated Class Name

OgnGetViewportResolutionDatabase

Python Module

omni.graph.ui_nodes