![]() |
![]() |
![]() |
Listener3DSettings.DistanceFactor Property |
Language: |
Retrieves and sets the number of meters in a vector unit.
Visual Basic Public Property DistanceFactor As Single C# public float DistanceFactor { get; set; } C++ public:
property float DistanceFactor {
float get();
void set(float value);
}JScript public function get DistanceFactor() : float
public function set DistanceFactor(float);
System.Single
This property is read/write.
The number of meters in a vector unit.
Can range from Listener3D.DistanceFactorMin to Listener3D.DistanceFactorMax.
The default value is 1 meter or Listener3D.DistanceFactorDefault.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center