.. _omni_graph_ui_nodes_GetViewportResolution_1:

.. _omni_graph_ui_nodes_GetViewportResolution:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: Get Viewport Resolution
    :keywords: lang-en omnigraph node viewport ui_nodes get-viewport-resolution


Get Viewport Resolution
=======================

.. <description>

Gets the resolution of the target viewport.

.. </description>


Installation
------------

To use this node enable :ref:`omni.graph.ui_nodes<ext_omni_graph_ui_nodes>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "Viewport (*inputs:viewport*)", "``token``", "Name of the viewport, or empty for the default viewport", "Viewport"


Outputs
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "Resolution (*outputs:resolution*)", "``int[2]``", "The resolution of the target viewport", "None"


Metadata
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "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"

