Version

menu_open
Wwise SDK 2022.1.12

◆ SetDiffractionOrder()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetDiffractionOrder ( AkUInt32  in_uDiffractionOrder,
bool  in_bUpdatePaths 
)

Set the diffraction order for geometric path calculation. The diffraction order indicates the number of edges a sound can diffract around. A higher number requires more CPU resources but results in paths found around more complex geometry. Set to 0 to globally disable geometric diffraction processing.

See also
Parameters
in_uDiffractionOrderNumber of diffraction edges to consider in path calculations. Valid range [0,8]
in_bUpdatePathsSet to true to clear existing diffraction paths and to force the re-computation of new paths. If false, existing paths will remain and new paths will be computed when the emitter or listener moves.

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