![]() |
![]() |
![]() |
Listener3D.DistanceFactor Property |
Language: |
Retrieves or sets the distance factor, which is the number of meters in a vector unit.
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);
System.Single . The distance factor, which is the number of meters in a vector unit.
This property is read/write.
Can range from Listener3D.DistanceFactorMin to Listener3D.DistanceFactorMax.
The default value is 1 meter or Listener3D.DistanceFactorDefault.
Exceptions
ArgumentException An invalid parameter was passed to the called method.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center