Version

menu_open
Wwise SDK 2019.1.11

◆ diffractionMaxPathLength

AkReal32 AkEmitterSettings::diffractionMaxPathLength

The maximum length of a geometric diffraction path between the emitter and the listener, in the case that they are in the same room. When the emitter and listener are in different rooms, this value represents the maximum possible diffracted path-segment length between the emitter and a portal (in the same room as the emitter). When the listener and emitter are in different rooms, calculated paths between the listener and portals, and/or those between two portals, are shared between all emitters requiring them, and so are not subject to diffractionMaxPathLength. The final path from the emitter to the listener may end up being longer than diffractionMaxPathLength, when the total path traverses a number of rooms and portals. Should generally be no longer (and possibly shorter for less CPU usage) than the maximum attenuation used on the sound emitter. Setting diffractionMaxPathLength to 0 effectively disables geometric diffraction for this sound emitter. When using geometric diffraction, a good starting point is the maximum possible distance that the sound should travel.

Definition at line 190 of file AkSpatialAudio.h.


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