Instance Property

rotationMatrix

Returns a rotation matrix representing the device's attitude.

Declaration

var rotationMatrix: CMRotationMatrix { get }

Discussion

A rotation matrix in linear algebra describes the rotation of a body in three-dimensional Euclidean space.

See Also

Getting a Mathematical Representation of Attitude as a Rotation Matrix

struct CMRotationMatrix

The type of a structure representing a rotation matrix.