Class XAudioListener
Class representing an audio listener.
Namespace: Evergine.XAudio2
Assembly: Evergine.XAudio2.dll
Syntax
public class XAudioListener : AudioListener
Constructors
XAudioListener()
Initializes a new instance of the XAudioListener class.
Declaration
public XAudioListener()
Properties
Listener
Gets the listener.
Declaration
public Listener Listener { get; }
Property Value
Type | Description |
---|---|
Listener |
Methods
UpdateDopplerFactor(float)
Updates the Doppler factor for this listener.
Declaration
protected override void UpdateDopplerFactor(float dopplerFactor)
Parameters
Type | Name | Description |
---|---|---|
float | dopplerFactor | The new Doppler factor. |
Overrides
UpdateVelocity(ref Vector3)
Updates the velocity of this listener.
Declaration
protected override void UpdateVelocity(ref Vector3 velocity)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | velocity | The new velocity. |
Overrides
UpdateWorldTransform(ref Matrix4x4)
Updates the world transform of this listener.
Declaration
protected override void UpdateWorldTransform(ref Matrix4x4 worldTransform)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | worldTransform | The new world transform matrix. |