Instance Property

quaternion

Returns a quaternion representing the device's attitude.

Declaration

@property(readonly, nonatomic) CMQuaternion quaternion;

Discussion

See the discussion of the CMQuaternion type in “Constants” for further information.

See Also

Getting a Mathematical Representation of Attitude as a Quaternion

CMQuaternion

The type for a quaternion representing a measurement of attitude.