ALDistanceModel Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used by AL.DistanceModel(), the distance model can be retrieved by AL.Get() with ALGetInteger.DistanceModel
public enum ALDistanceModel
type ALDistanceModel =
- Inheritance
-
ALDistanceModel
Fields
ExponentDistance | 53253 | AL_EXT_EXPONENT_DISTANCE extension. |
ExponentDistanceClamped | 53254 | AL_EXT_EXPONENT_DISTANCE extension. |
InverseDistance | 53249 | InverseDistance is equivalent to the IASIG I3DL2 model with the exception that ALSourcef.ReferenceDistance does not imply any clamping. |
InverseDistanceClamped | 53250 | InverseDistanceClamped is the IASIG I3DL2 model, with ALSourcef.ReferenceDistance indicating both the reference distance and the distance below which gain will be clamped. |
LinearDistance | 53251 | AL_EXT_LINEAR_DISTANCE extension. |
LinearDistanceClamped | 53252 | AL_EXT_LINEAR_DISTANCE extension. |
None | 0 | Bypasses all distance attenuation calculation for all Sources. |