Get Prim Direction Vector
Given a prim, find its direction vectors (up vector, forward vector, right vector, etc.)
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Prim (inputs:prim) |
|
The connection to the input prim - this attribute is used when ‘usePath’ is false |
None |
Prim Path (inputs:primPath) |
|
The path of the input prim - this attribute is used when ‘usePath’ is true |
|
Use Path (inputs:usePath) |
|
When true, it will use the ‘primPath’ attribute as the path to the prim, otherwise it will read the connection at the ‘prim’ attribute |
True |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Backward Vector (outputs:backwardVector) |
|
The backward vector of the prim |
None |
Down Vector (outputs:downVector) |
|
The down vector of the prim |
None |
Forward Vector (outputs:forwardVector) |
|
The forward vector of the prim |
None |
Left Vector (outputs:leftVector) |
|
The left vector of the prim |
None |
Right Vector (outputs:rightVector) |
|
The right vector of the prim |
None |
Up Vector (outputs:upVector) |
|
The up vector of the prim |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.GetPrimDirectionVector |
Version |
2 |
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 |