Table of Contents

virtual AKRESULT AK::IAkGlobalPluginContext::ComputeSphericalCoordinates ( const AkEmitterListenerPair in_pair,
AkReal32 out_fAzimuth,
AkReal32 out_fElevation  
) const [pure virtual]

Given an emitter-listener pair, compute the azimuth and elevation angles of the emitter relative to the listener.

AK_Success if the listener referenced in the emitter-listener pair was found; azimuth and elevation.
in_pair  Emitter-listener pair for which to compute azimuth and elevation angles.
out_fAzimuth  Returned azimuthal angle, in radians.
out_fElevation  Returned elevation angle, in radians.