Microsoft DirectX 9.0 SDK Update (October 2004)

Listener3DSettings.DistanceFactor Property

Language:

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

Retrieves and sets the number of meters in a vector unit.

Definition

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

Property Value

System.Single . The number of meters in a vector unit.

This property is read/write. 

Remarks

Can range from Listener3D.DistanceFactorMin to Listener3D.DistanceFactorMax.

The default value is 1 meter or Listener3D.DistanceFactorDefault.


© 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