Get Active Camera

Gets the path of the camera bound to a 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

Outputs

Name

Type

Descripton

Default

Camera (outputs:camera)

token

Path of the active camera

None

Camera Prim (outputs:cameraPrim)

target

The prim of the active camera

None

Metadata

Name

Value

Unique ID

omni.graph.ui_nodes.GetActiveViewportCamera

Version

2

Extension

omni.graph.ui_nodes

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Get Active Camera

Categories

sceneGraph:camera

Generated Class Name

OgnGetActiveViewportCameraDatabase

Python Module

omni.graph.ui_nodes