# MatrixUtils Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.MatrixUtils/ MatrixUtils A utility class to help grepping information from matrices. --- ## Declaration public static class MatrixUtils --- ## Properties | Name | Type | Summary | | --- | --- | --- | | static readonly InvalidMatrix | Matrix4x4 | - | --- ## Methods | Name | Type | Summary | | --- | --- | --- | | static PositionFromMatrix | Vector3 | Returns the position from a transform matrix. @param matrix The matrix from which to extract the position. | | static RotationFromMatrix | Quaternion | Returns the rotation as a quaternion from a transform matrix @param matrix The matrix from which to extract the rotation. | | static ToPosition | Vector3 | - | | static ToRotation | Quaternion | Returns the rotation as a quaternion from a transform matrix @param matrix The matrix from which to extract the rotation. | ---