Table des matières

Wwise SDK 2018.1.11

◆ 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.

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