版本
Public Member Functions | |
AkEmitterListenerPair () | |
Constructor. |
|
~AkEmitterListenerPair () | |
Destructor. |
|
AkReal32 | Distance () const |
Get distance. |
|
AkReal32 | Azimuth () const |
Get azimuth angle, in radians. Positive direction is towards the right. |
|
AkReal32 | Elevation () const |
Get elevation angle, in radians. Positive direction is towards the top. |
|
AkReal32 | EmitterAngle () const |
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. |
|
AkUInt32 | ListenerMask () const |
Get full listener mask. |
|
AkUInt8 | ListenerIdx () const |
There is always only one listener if this is a 3D sound. |
|
Public Attributes | |
AkReal32 | fEmitterAngle |
AkReal32 | fDryMixGain |
Angle between position vector and emitter orientation. |
|
AkReal32 | fGameDefAuxMixGain |
Emitter-listener-pair-specific gain (due to distance and cone attenuation) for direct connections. |
|
AkReal32 | fUserDefAuxMixGain |
Emitter-listener-pair-specific gain (due to distance and cone attenuation) for game-defined send connections. |
|
Protected Attributes | |
AkUInt8 | m_uListenerMask |
Emitter-listener-pair-specific gain (due to distance and cone attenuation) for user-defined send connections. |
Emitter-listener pair: Position of an emitter relative to a listener, in spherical coordinates. The structure also carries the angle between the emitter's orientation and the line that joins the emitter and the listener.
Definition at line 319 of file AkTypes.h.