# RotationFromMatrix Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.MatrixUtils.RotationFromMatrix/ RotationFromMatrix --- ## Declaration public static Quaternion RotationFromMatrix(Matrix4x4 matrix) #### Summary Returns the rotation as a quaternion from a transform matrix @param matrix The matrix from which to extract the rotation. > **Info:** > > **Notice** > > This does not work on matrices with negative scale values. ### Parameters | Name | Type | Summary | | --- | --- | --- | | matrix | Matrix4x4 | - | ---