Get Camera Position

Gets a viewport camera position

Installation

To use this Node, you must enable omni.graph.ui_nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

usePath

bool

When true, the ‘primPath’ attribute is used as the path to the prim being read, otherwise it will read the connection at the ‘prim’ attribute

True

prim

target

The camera prim, when ‘usePath’ is false

Camera Path (primPath)

token

Path of the camera, used when ‘usePath’ is true

Outputs

Name

Type

Description

Default

Position (position)

pointd[3]

The position of the camera in world space