Table of Contents

Wwise SDK 2018.1.11

◆ ComputeSphericalCoordinates()

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.

Returns
AK_Success if the listener referenced in the emitter-listener pair was found; azimuth and elevation.
Parameters
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.