API Reference > geometry-core > CartesianGeometry > YawPitchRollAngles > createFromMatrix3d createFromMatrix3d MethodStatic Attempts to create a YawPitchRollAngles object from an Matrix3d This conversion fails if the matrix is not rigid (unit rows and columns, transpose is inverse) In the failure case the method's return value is undefined. In the failure case, if the optional result was supplied, that result will nonetheless be filled with a set of angles. createFromMatrix3d(matrix: Matrix3d, result?: YawPitchRollAngles): YawPitchRollAngles | undefined Parameter Type Description matrix Matrix3d result YawPitchRollAngles Returns - YawPitchRollAngles | undefined Defined in core/geometry/src/geometry3d/YawPitchRollAngles.ts Line 179 Last Updated: 13 June, 2024