Version

menu_open
Wwise SDK 2021.1.14

◆ QueryWetDiffraction()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::QueryWetDiffraction ( AkPortalID  in_portal,
AkReal32 out_wetDiffraction 
)

Query information about the wet diffraction amount for the portal in_portal, returned as a normalized value out_wetDiffraction in the range [0,1].
The wet diffraction is calculated from how far into the 'shadow region' the listener is from the portal. Unlike dry diffraction, the wet diffraction does not depend on the incident angle, but only the normal of the portal. Depending on the spatial audio initialization settings, this value is applied by spatial audio, to the obstruction and/or built-in game parameter of the room game object that is on the other side of the portal (relative to the listener). This function must acquire the global sound engine lock and therefore, may block waiting for the lock.

See also
Parameters
in_portal The ID of the game object that the client wishes to query.
out_wetDiffraction The number of slots in out_aPaths, after returning the number of valid elements written.

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