Contents

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

Related Documentation

Getting a Mathematical Representation of Attitude as a Rotation Matrix