Class ALAudioListener
Class representing an audio listener.
Namespace: Evergine.OpenAL
Assembly: Evergine.OpenAL.dll
Syntax
public class ALAudioListener : AudioListener
Constructors
ALAudioListener()
Initializes a new instance of the ALAudioListener class.
Declaration
public ALAudioListener()
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. |