OmniGraph Node omni.graph.nodes.GetPrimDirectionVector¶
omni.graph.nodes.GetPrimDirectionVector Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Get Prim Direction Vector |
__categories |
sceneGraph |
Generated Class Name |
OgnGetPrimDirectionVectorDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.GetPrimDirectionVector Description¶
Given a prim, find its direction vectors (up vector, forward vector, right vector, etc.)
omni.graph.nodes.GetPrimDirectionVector Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:prim |
bundle |
None |
The connection to the input prim - this attribute is used when ‘usePath’ is false |
|
inputs:primPath |
token |
Y |
The path of the input prim - this attribute is used when ‘usePath’ is true |
|
inputs:usePath |
bool |
True |
Y |
When true, it will use the ‘primPath’ attribute as the path to the prim, otherwise it will read the connection at the ‘prim’ attribute |
__default |
true |
omni.graph.nodes.GetPrimDirectionVector Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:backwardVector |
double[3] |
None |
Y |
The backward vector of the prim |
uiName |
Backward Vector |
|||
outputs:downVector |
double[3] |
None |
Y |
The down vector of the prim |
uiName |
Down Vector |
|||
outputs:forwardVector |
double[3] |
None |
Y |
The forward vector of the prim |
uiName |
Forward Vector |
|||
outputs:leftVector |
double[3] |
None |
Y |
The left vector of the prim |
uiName |
Left Vector |
|||
outputs:rightVector |
double[3] |
None |
Y |
The right vector of the prim |
uiName |
Right Vector |
|||
outputs:upVector |
double[3] |
None |
Y |
The up vector of the prim |
uiName |
Up Vector |