Table des matières

AkPropagationPathInfo Struct Reference

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

List of all members.

Public Attributes

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 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.

Detailed Description

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

Definition at line 313 of file AkSpatialAudio.h.


The documentation for this struct was generated from the following file: