Instance Property

rotationMatrix

Returns a rotation matrix representing the device's attitude.

Declaration

@property(readonly, nonatomic) CMRotationMatrix rotationMatrix;

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

CMRotationMatrix

The type of a structure representing a rotation matrix.