Listener3D Class
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
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
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
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
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
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