Contents

quaternion

Returns a quaternion representing the device’s attitude.

Declaration

var quaternion: CMQuaternion { get }

Discussion

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

See Also

Related Documentation

Getting a Mathematical Representation of Attitude as a Quaternion