Version

menu_open
Wwise SDK 2018.1.11

◆ GetEmitterListenerPair()

virtual AKRESULT AK::IAkGameObjectPluginInfo::GetEmitterListenerPair ( AkUInt32  in_uIndex,
AkEmitterListenerPair out_emitterListenerPair 
) const
pure virtual

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.

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise