Microsoft DirectX 9.0 SDK Update (October 2004)

Listener3D.DopplerFactor Property

Language:

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

Retrieves or sets the multiplier for the Doppler effect.

Definition

Visual Basic .NET Public Property DopplerFactor As Single
C# public float DopplerFactor { get; set; }
Managed C++ public: __property float get_DopplerFactor();
public: __property void set_DopplerFactor(float);
JScript .NET public function get DopplerFactor() : float
public function set DopplerFactor(float);

Property Value

System.Single . The multiplier for the Doppler effect.

This property is read/write. 

Remarks

The Doppler factor has a range of 0.0 (no Doppler effects) to 10.0 (ten times the Doppler effects found in the real world). The default value is 1.0.

Exceptions
ArgumentException Leave Site An invalid parameter was passed to the called method.


© 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