Wwise SDK 2024.1.0
|
#include <AkSpatialAudio.h>
Public 属性 | |
AkVector64 | nodes [kMaxNodes] |
AkVector64 | emitterPos |
AkReal32 | angles [kMaxNodes] |
Raw diffraction angles at each point, in radians. 更多... | |
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. 更多... | |
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. 更多... | |
AkReal32 | diffraction |
AkReal32 | transmissionLoss |
AkReal32 | totLength |
AkReal32 | obstructionValue |
AkReal32 | occlusionValue |
AkReal32 | gain |
静态 Public 属性 | |
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. 更多... | |
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.
在文件 AkSpatialAudio.h 第 287 行定义.