Retrieve the emitter-listener pair (ray) of the game object at index in_uIndex. Call GetNumEmitterListenerPairs() prior to this function to get the total number of emitter-listener pairs of the game object. The emitter-listener pair is expressed as the game object's position relative to the listener, in spherical coordinates.
- Note:
- The distance takes game object and listener scaling factors into account.
- Returned distance and angles are those of the game object, and do not necessarily correspond to any sound's positioning data.
- Returns:
- AK_Fail if the index is invalid, AK_Success otherwise.
- See also:
- Parameters:
-
|
in_uIndex |
Index of the pair, [0, GetNumEmitterListenerPairs()[ |
|
out_emitterListenerPair |
Returned relative source position in spherical coordinates. |