nukescripts.extractRotationXYZ
- nukescripts.extractRotationXYZ(matrix)[source]
Extract XYZ rotation since Matrix4::rotationsXYZ() is buggy for some cases. This function can be removed in favor of the new math API being included for Nuke14. This function is a translation of their implementation for XYZ rotations extraction.
- Parameters
matrix (_nukemath.Matrix4) – the matrix we will extract the rotations from.
- Returns
_nukemath.Vector3 with XYZ rotations.