Instance Method

multiply(byInverseOf:)

Yields the change in attitude given a specific attitude.

Declaration

func multiply(byInverseOf attitude: CMAttitude)

Parameters

attitude

An object representing the device’s attitude at a given moment of measurement.

Discussion

This method multiplies the inverse of the specified CMAttitude object by the attitude represented by the receiving object. It replaces the receiving instance with the attitude change relative to the object passed in attitude. You should cache the CMAttitude instance you want to use as a reference and pass that object as the argument to subsequent calls of this method.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software