Version

menu_open
Wwise SDK 2024.1.4

◆ SetMaxDiffractionPaths()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetMaxDiffractionPaths ( AkUInt32  in_uMaxDiffractionPaths,
AkGameObjectID  in_gameObjectID = AK_INVALID_GAME_OBJECT 
)

Set the maximum number of computed diffraction paths. Pass a valid Game Object ID to to in_gameObjectID to affect a specific game object and override the value set in AkSpatialAudioInitSettings::uMaxDiffractionPaths. Pass AK_INVALID_GAME_OBJECT to apply the same limit to all Game Objects (that have not previously been passed to SetMaxDiffractionPaths), updating the value set for AkSpatialAudioInitSettings::uMaxDiffractionPaths.

See also
Parameters
in_uMaxDiffractionPathsMaximum number of reflection paths. Valid range [0..32]
in_gameObjectIDGame Object ID. Pass AK_INVALID_GAME_OBJECT to affect all Game Objects, effectivly updating AkSpatialAudioInitSettings::uMaxDiffractionPaths. Pass a valid Game Object ID to override the init setting for a specific Game Object.

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