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.
在文件 AkSpatialAudio.h 第 75 行定义.