Microsoft DirectX 9.0 SDK Update (October 2004)

Listener3D Class

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves and sets parameters that describe a listener's position, orientation, and listening environment in 3-D space.

Definition

Visual Basic .NET Public Class Listener3D
   Inherits MarshalByRefObject 
   Implements IDisposable
C# public class Listener3D : MarshalByRefObject,
   IDisposable
Managed C++ public __gc class Listener3D  : public MarshalByRefObject,
   IDisposable
JScript .NET public class Listener3D extends MarshalByRefObject
   implements IDisposable

Members Table

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.
Field Description
static (Shared in Visual Basic .NET) DistanceFactorDefault Retrieves the default value for the Listener3D.DistanceFactor property.
static (Shared in Visual Basic .NET) DistanceFactorMax Retrieves the maximum value for the Listener3D.DistanceFactor property.
static (Shared in Visual Basic .NET) DistanceFactorMin Retrieves the minimum value for the Listener3D.DistanceFactor property.
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.
static (Shared in Visual Basic .NET) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic .NET) 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.
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

Object Leave Site
MarshalByRefObject Leave Site
Listener3D

Class Information

Namespace Microsoft.DirectX.DirectSound
Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name Microsoft.DirectX.DirectSound,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center