Get Camera Position
Gets a viewport camera position
Installation
To use this node enable omni.graph.ui_nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Prim (inputs:prim) |
|
The camera prim, when ‘usePath’ is false |
None |
Camera Path (inputs:primPath) |
|
Path of the camera, used when ‘usePath’ is true |
|
Use Path (inputs:usePath) |
|
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 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Position (outputs:position) |
|
The position of the camera in world space |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.ui_nodes.GetCameraPosition |
Version |
2 |
Extension |
omni.graph.ui_nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
tests |
uiName |
Get Camera Position |
Categories |
sceneGraph:camera |
Generated Class Name |
OgnGetCameraPositionDatabase |
Python Module |
omni.graph.ui_nodes |