Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8
AkDiffractionPathInfo Struct Reference

#include <AkSpatialAudio.h>

Public Attributes

AkVector64 nodes [kMaxNodes]
 
AkVector64 emitterPos
 
AkReal32 angles [kMaxNodes]
 Raw diffraction angles at each point, in radians. More...
 
AkPortalID portals [kMaxNodes]
 
AkRoomID rooms [kMaxNodes+1]
 
AkWorldTransform virtualPos
 Virtual emitter position. This is the position that is passed to the sound engine to render the audio using multi-positioning, for this particular path. More...
 
AkUInt32 nodeCount
 Total number of nodes in the path. Defines the number of valid entries in the nodes, angles, and portals arrays. The rooms array has one extra slot to fit the emitter's room. More...
 
AkReal32 diffraction
 
AkReal32 transmissionLoss
 
AkReal32 totLength
 
AkReal32 obstructionValue
 
AkReal32 occlusionValue
 

Static Public Attributes

static const AkUInt32 kMaxNodes = AK_MAX_SOUND_PROPAGATION_DEPTH
 Defines the maximum number of nodes that a user can retrieve information about. Longer paths will be truncated. More...
 

Detailed Description

Structure for retrieving information about paths for a given emitter. The diffraction paths represent indirect sound paths from the emitter to the listener, whether they go through portals (via the rooms and portals API) or are diffracted around edges (via the geometric diffraction API). The direct path is included here and can be identified by checking nodeCount == 0. The direct path may have a non-zero transmission loss if it passes through geometry or between rooms.

Definition at line 253 of file AkSpatialAudio.h.


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