Version

menu_open
Wwise SDK 2019.2.15

◆ Get3DPosition()

virtual AKRESULT AK::IAkMixerInputContext::Get3DPosition ( AkUInt32  in_uIndex,
AkEmitterListenerPair out_soundPosition 
)
pure virtual

3D spatialization: Retrieve the spherical coordinates of the desired emitter-listener pair (ray) corresponding to this input, as automated by the engine. Applicable only when the input has listener relative routing (see HasListenerRelativeRouting()). Returned rays are those that result from engine automation, if applicable.

Returns
AK_Success if the pair index is valid, AK_Fail otherwise.
See also
Parameters
in_uIndex Index of the pair, [0, GetNum3DPositions()[
out_soundPosition Returned sound position, in spherical coordinates.

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