Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves and sets the maximum attenuation distance.
Definition
Visual Basic Public Property MaxDistance As Single C# public float MaxDistance { get; set; } C++ public:
property float MaxDistance {
float get();
void set(float value);
}JScript public function get MaxDistance() : float
public function set MaxDistance(float);
Property Value
System.Single
The maximum attenuation distance.This property is read/write.
Remarks
This property is the distance from the listener beyond which sounds in this buffer are no longer attenuated.