arrow_right Table of Contents

Other Documentation

Wwise SDK 2021.1.10
AkSpatialAudioInitSettings Struct Reference

Initialization settings of the spatial audio module. More...

#include <AkSpatialAudio.h>

Public Member Functions

  AkSpatialAudioInitSettings ()

Public Attributes

AkUInt32  uMaxSoundPropagationDepth
  Maximum number of portals that sound can propagate through; must be less than or equal to AK_MAX_SOUND_PROPAGATION_DEPTH. More...
AkReal32  fMovementThreshold
  Amount that an emitter or listener has to move to trigger a recalculation of reflections/diffraction. Larger values can reduce the CPU load at the cost of reduced accuracy. More...
AkUInt32  uNumberOfPrimaryRays
  The number of primary rays used in the ray tracing engine. A larger number of rays will increase the chances of finding reflection and diffraction paths, but will result in higher CPU usage. When CPU limit is active (see AkSpatialAudioInitSettings::fCPULimitPercentage), this setting represents the maximum allowed number of primary rays. More...
AkUInt32  uMaxReflectionOrder
  Maximum reflection order [1, 4] - the number of 'bounces' in a reflection path. A higher reflection order renders more details at the expense of higher CPU usage. More...
AkReal32  fMaxPathLength
AkReal32  fCPULimitPercentage
bool  bEnableDiffractionOnReflection
  Enable diffraction at the end/beginning of reflection paths. Diffraction on reflection causes reflections to fade in and out smoothly as the listener or emitter move in and out of the reflection's shadow zone. More...
bool  bEnableGeometricDiffractionAndTransmission
bool  bCalcEmitterVirtualPosition
  An emitter that is diffracted through a portal or around geometry will have its apparent or virtual position calculated by Wwise Spatial Audio and passed on to the sound engine. More...
bool  bUseObstruction
bool  bUseOcclusion

Detailed Description

Initialization settings of the spatial audio module.

Definition at line 44 of file AkSpatialAudio.h.