Version

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

Default 3D positioning: Retrieve the spherical coordinates of the desired emitter-listener pair (ray) corresponding to this input, as automated by the engine. When in 3D game-defined positioning mode, the returned position corresponds to the game object position (also obtainable via the AK::IAkGameObjectPluginInfo interface). In 3D user-defined positioning mode, returned rays are those that result from engine automation.

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