Get Rotation Quaternion
Gets the rotation of the given matrix or rotation angles value which represents a linear transformation. Returns the quaternion orientation component.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Input (inputs:matrix) |
|
The matrix or rotation angles to extract the quaternion from. |
None |
Rotation Order (inputs:rotationOrder) |
|
The order the rotation should be applied when using rotation angles. |
XYZ |
Metadata |
allowedTokens = XYZ,XZY,YXZ,YZX,ZXY,ZYX |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Orientation (outputs:quaternion) |
|
The quaternion representing the orientation of the transformation. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.GetMatrix4Quaternion |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Get Rotation Quaternion |
Categories |
math:operator |
Generated Class Name |
OgnGetMatrix4QuaternionDatabase |
Python Module |
omni.graph.nodes |