Version

menu_open
Wwise SDK 2023.1.4

◆ bEnableGeometricDiffractionAndTransmission

bool AkSpatialAudioInitSettings::bEnableGeometricDiffractionAndTransmission

Enable computation of geometric diffraction and transmission paths for all sources that have the Enable Diffraction and Transmission box checked in the Positioning tab of the Wwise Property Editor. This flag enables sound paths around (diffraction) and through (transmission) geometry (see AK::SpatialAudio::SetGeometry). Setting bEnableGeometricDiffractionAndTransmission to false implies that geometry is only to be used for reflection calculation. Diffraction edges must be enabled on geometry for diffraction calculation (see AkGeometryParams). If bEnableGeometricDiffractionAndTransmission is false but a sound has Enable Diffraction and Transmission selected in the Positioning tab of the authoring tool, the sound will diffract through portals but will pass through geometry as if it is not there. One would typically disable this setting in the case that the game intends to perform its own obstruction calculation, but geometry is still passed to spatial audio for reflection calculation.

Definition at line 79 of file AkSpatialAudio.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise