Version

menu_open
Wwise SDK 2023.1.3

◆ 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_pairEmitter-listener pair for which to compute azimuth and elevation angles.
out_fAzimuthReturned azimuthal angle, in radians.
out_fElevationReturned elevation angle, in radians.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise