Listener3D Class (Microsoft.DirectX.DirectSound)
Retrieves and sets parameters that describe a listener's position, orientation, and listening environment in 3-D space.
Definition
Visual Basic Public Class Listener3D
Inherits MarshalByRefObject
Implements IDisposableC# public class Listener3D : MarshalByRefObject, IDisposable C++ public ref class Listener3D : MarshalByRefObject, IDisposable JScript public class Listener3D extends MarshalByRefObject implements IDisposable
Members Table
The following table lists the members exposed by the object.
Events
Event Description Disposing Occurs when the Dispose method is called or when the Listener3D object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime. Fields
Field Description DistanceFactorDefault Retrieves the default value for the Listener3D.DistanceFactor property. DistanceFactorMax Retrieves the maximum value for the Listener3D.DistanceFactor property. DistanceFactorMin Retrieves the minimum value for the Listener3D.DistanceFactor property. Methods
Method Description CommitDeferredSettings Commits any deferred settings made since the last call to this method. Dispose Immediately releases the unmanaged resources used by the Listener3D object. Equals Returns a value that indicates whether the current instance is equal to a specified object. Finalize Allows the Listener3D object to free resources before it is destroyed by the garbage collector. GetHashCode Returns the hash code for the current instance. GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code. Listener3D Initializes a new instance of the Listener3D class. op_Equality Compares the current instance of a class to another instance to determine whether they are the same. op_Inequality Compares the current instance of a class to another instance to determine whether they are different. raise_Disposing Raises the Listener3D.Disposing event when called from within a derived class. Properties
Property Description AllParameters Retrieves and sets all 3-D parameters of the sound environment and the listener. Deferred Determines if settings are set immediately or deferred. Disposed Gets a value that indicates whether the object is disposed. DistanceFactor Retrieves or sets the distance factor, which is the number of meters in a vector unit. DopplerFactor Retrieves or sets the multiplier for the Doppler effect. Orientation Retrieves or sets the orientation of the listener's head. Position Retrieves or sets the listener's position. RolloffFactor Retrieves and sets the rolloff factor, which determines the rate of attenuation over distance. Velocity Retrieves or sets the listener's velocity.
Inheritance Hierarchy
Listener3D
Class Information
Namespace Microsoft.DirectX.DirectSound Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll) Strong Name Microsoft.DirectX.DirectSound, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492