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_uMaxDiffractionPaths | Maximum number of reflection paths. Valid range [0..32] |
| in_gameObjectID | Game 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. |