OmniGraph Node omni.graph.ui.SetCameraPosition¶
omni.graph.ui.SetCameraPosition Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.ui |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
tests |
uiName |
Set Camera Position |
__categories |
sceneGraph:camera |
__exclusions |
tests |
Generated Class Name |
OgnSetCameraPositionDatabase |
Python Module |
omni.graph.ui |
omni.graph.ui.SetCameraPosition Description¶
Sets the camera’s position
omni.graph.ui.SetCameraPosition Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:execIn |
execution |
None |
Y |
Execution input |
uiName |
In |
|||
inputs:position |
pointd[3] |
[0.0, 0.0, 0.0] |
Y |
The new position |
uiName |
Position |
|||
inputs:prim |
bundle |
None |
The camera prim, when ‘usePath’ is false |
|
inputs:primPath |
token |
Y |
Path of the camera, used when ‘usePath’ is true |
|
uiName |
Camera Path |
|||
inputs:rotate |
bool |
True |
Y |
True to keep position but change orientation and radius (camera moves to new position while still looking at the same target). False to keep orientation and radius but change position (camera moves to look at new target). |
uiName |
Rotate |
|||
__default |
true |
|||
inputs:usePath |
bool |
True |
Y |
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 |
__default |
true |
omni.graph.ui.SetCameraPosition Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:execOut |
execution |
None |
Y |
Execution Output |
uiName |
Out |