Microsoft DirectX 9.0 SDK Update (October 2004)

Buffer3DSettings.MaxDistance Property

Language:

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

Retrieves and sets the maximum attenuation distance.

Definition

Visual Basic .NET Public Property MaxDistance As Single
C# public float MaxDistance { get; set; }
Managed C++ public: __property float get_MaxDistance();
public: __property void set_MaxDistance(float);
JScript .NET 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.


© 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