Table des matières

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.