版本

menu_open
Wwise SDK 2021.1.14
AkDiffractionPathInfo结构体 参考

#include <AkSpatialAudio.h>

Public 属性

AkVector  nodes [kMaxNodes]
 
AkVector  emitterPos
 
AkReal32  angles [kMaxNodes]
  Raw diffraction angles at each point, in radians. 更多...
 
AkPortalID  portals [kMaxNodes]
 
AkRoomID  rooms [kMaxNodes+1]
 
AkTransform  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
 

静态 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.h269 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅