目录

AkPropagationPathInfo结构参考

Structure for retrieving information about the sound propagation paths that have been calculated via the rooms and portals API. Useful for debug draw applications. 更多...

所有成员的列表。

公有属性

AkVector  nodePoint [kMaxNodes]
  Nodes in the path; they repreent vertices within the bounds of a portal's opening.
AkPortalID  portals [kMaxNodes]
  ID of the portal's that the path passes through. portal[0] is the portal closest to the listener; portal[numNodes-1] is the portal closest to the emitter.
AkRoomID  rooms [kMaxNodes+1]
  ID's of the rooms that the path passes through. There is always one more room than portal. room[0] is the listener's room; the emitters room is room[numNodes].
AkUInt32  numNodes
  Represents the number of valid nodes in nodePoint[] and the number of valid portals in portals[]. The number of rooms in rooms[] is numNodes+1. There is always one more room than portal.
AkReal32  length
  The sum of all straight line path segments, including the segment from the listener to nodePoint[0], between each subsequent nodePoint, and from nodePoint[numNodes-1] to the emitter.
AkReal32  gain
  The cumulative gain (linear) of all portals traversed.
AkReal32  dryDiffraction
  The dry diffraction amount is normalized in the range [0,1], and calculated from the maximum deviation angle from a straight line, of all angles at each nodePoint. Can be thought of as how.
AkReal32  wetDiffraction

静态公有属性

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 the sound propagation paths that have been calculated via the rooms and portals API. Useful for debug draw applications.

在文件AkSpatialAudio.h313行定义。


该结构的文档由以下文件生成: