Set Rotation
Sets the rotation of the given matrix4d value which represents a linear transformation. Does not modify the translation (row 3) of the matrix. Accepts an angle/axis combination, Euler angles, quaternions or rotation matrices
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Rotation Axis (inputs:fixedRotationAxis) |
|
The axis of the given rotation |
Y |
Metadata |
allowedTokens = X,Y,Z,Custom |
||
Matrix (inputs:matrix) |
|
The matrix to be modified |
None |
Rotation (inputs:rotationAngle) |
|
The rotation to be applied to the matrix. This can be a angle about an axis, euler angles, quaternion or a rotation matrix. |
None |
Custom Rotation Axis (inputs:rotationAxis) |
|
The axis of rotation when fixedRotationAxis is set to Custom |
[0, 1, 0] |
Rotation Order (inputs:rotationOrder) |
|
The order the rotation should be applied when using euler angles. |
XYZ |
Metadata |
allowedTokens = XYZ,XZY,YXZ,YZX,ZXY,ZYX |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Matrix (outputs:matrix) |
|
The updated matrix |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.SetMatrix4Rotation |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Set Rotation |
Categories |
math:operator |
Generated Class Name |
OgnSetMatrix4RotationDatabase |
Python Module |
omni.graph.nodes |