Class SoundListener3D
This class represent a Sound listener in a 3D environment.
Inheritance
SoundListener3D
Implements
Inherited Members
Namespace: Evergine.Components.Sound
Assembly: Evergine.Components.dll
Syntax
public class SoundListener3D : Behavior, IDependencyObject
Constructors
SoundListener3D()
Initializes a new instance of the Sound
Declaration
public SoundListener3D()
Fields
DopplerFactor
The Doppler factor of this listener.
Declaration
public float DopplerFactor
Field Value
Type | Description |
---|---|
float |
Properties
Listener
Gets the sound listener.
Declaration
public AudioListener Listener { get; }
Property Value
Type | Description |
---|---|
Audio |
Methods
Start()
Invoked to start the object.
Declaration
protected override void Start()
Overrides
Update(TimeSpan)
Update 3D listener.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
Time |
gameTime | The game time. |