OmniGraph Node omni.graph.nodes.SetMatrix4Rotation¶
omni.graph.nodes.SetMatrix4Rotation Properties¶
Name |
Value |
---|---|
Version |
1 |
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 |
omni.graph.nodes.SetMatrix4Rotation Description¶
Sets the rotation of the given matrix4d value which represents a linear transformation. Does not modify the translation (row 3) of the matrix.
omni.graph.nodes.SetMatrix4Rotation Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:fixedRotationAxis |
token |
Y |
Y |
The axis of the given rotation |
allowedTokens |
X,Y,Z |
|||
__allowedTokens |
[“X”, “Y”, “Z”] |
|||
__default |
“Y” |
|||
inputs:matrix |
[‘matrixd[4]’, ‘matrixd[4][]’] |
None |
Y |
The matrix to be modified |
inputs:rotationAngle |
[‘double’, ‘double[]’] |
None |
Y |
The rotation in degrees that the matrix will apply about the given rotationAxis. |
uiName |
Rotation |
omni.graph.nodes.SetMatrix4Rotation Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:matrix |
[‘matrixd[4]’, ‘matrixd[4][]’] |
None |
Y |
The updated matrix |