版本

menu_open
Wwise SDK 2023.1.3

Emitter-listener pair: Positioning data pertaining to a single pair of emitter and listener. 更多...

#include <AkTypes.h>

Public 成员函数

 AkEmitterListenerPair ()
 Constructor. 更多...
 
 ~AkEmitterListenerPair ()
 Destructor. 更多...
 
AkReal32 Distance () const
 Get distance. 更多...
 
AkReal32 EmitterAngle () const
 
AkReal32 ListenerAngle () const
 
AkReal32 Occlusion () const
 Get the occlusion factor for this emitter-listener pair 更多...
 
AkReal32 Obstruction () const
 Get the obstruction factor for this emitter-listener pair 更多...
 
AkReal32 Diffraction () const
 Get the diffraction factor for this emitter-listener pair 更多...
 
AkReal32 TransmissionLoss () const
 Get the transmission loss factor for this emitter-listener pair 更多...
 
AkReal32 PathGain () const
 Get the overall path-contribution gain, used to scale the dry + gamedef + userdef gains 更多...
 
AkReal32 GetGainForConnectionType (AkConnectionType in_eType) const
 Get the emitter-listener-pair-specific gain (due to distance and cone attenuation), linear [0,1], for a given connection type. 更多...
 
AkRayID ID () const
 Get the emitter-listener pair's ID. 更多...
 
AkGameObjectID ListenerID () const
 Get listener ID associated with the emitter-listener pair. 更多...
 

Public 属性

AkWorldTransform emitter
 Emitter position. 更多...
 
AkReal32 fDistance
 Distance between emitter and listener. 更多...
 
AkReal32 fEmitterAngle
 Angle between position vector and emitter orientation. 更多...
 
AkReal32 fListenerAngle
 Angle between position vector and listener orientation. 更多...
 
AkReal32 fDryMixGain
 Emitter-listener-pair-specific gain (due to distance and cone attenuation) for direct connections. 更多...
 
AkReal32 fGameDefAuxMixGain
 Emitter-listener-pair-specific gain (due to distance and cone attenuation) for game-defined send connections. 更多...
 
AkReal32 fUserDefAuxMixGain
 Emitter-listener-pair-specific gain (due to distance and cone attenuation) for user-defined send connections. 更多...
 
AkReal32 fOcclusion
 Emitter-listener-pair-specific occlusion factor 更多...
 
AkReal32 fObstruction
 Emitter-listener-pair-specific obstruction factor 更多...
 
AkReal32 fDiffraction
 Emitter-listener-pair-specific diffraction coefficient 更多...
 
AkReal32 fTransmissionLoss
 Emitter-listener-pair-specific transmission occlusion. 更多...
 
AkReal32 fSpread
 Emitter-listener-pair-specific spread 更多...
 
AkReal32 fAperture
 Emitter-listener-pair-specific aperture 更多...
 
AkReal32 fScalingFactor
 Combined scaling factor due to both emitter and listener. 更多...
 
AkReal32 fPathGain
 Emitter-listener-pair-specific overall gain that scales fDryMixGain, fGameDefAuxMixGain and fUserDefAuxMixGain 更多...
 
AkChannelMask uEmitterChannelMask
 Channels of the emitter that apply to this ray. 更多...
 

Protected 属性

AkRayID id
 ID of this emitter-listener pair, unique for a given emitter. 更多...
 
AkGameObjectID m_uListenerID
 Listener game object ID. 更多...
 

详细描述

Emitter-listener pair: Positioning data pertaining to a single pair of emitter and listener.

在文件 AkTypes.h815 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅