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