|
Enum for setting/getting the current distance model. None means no model is in use, i.e. no attenuation.
InverseDistance:
InverseDistanceClamped:
  - And then the calculations in InverseDistance... This is equivalent to the <a href="http://www.iasig.org>IASIG I3DL2 distance model.
In the above calculations, the variables have the following meanings:
- dist is the distance from the listener to the source.
- REFERENCE_DISTANCE are the distance at which the listener will experience GAIN. Both are set per source.
- ROLLOFF is a source specific factor of attenuation. If it's set to one, the InverseDistance model will describe a "physically correct" inverse square behaviour.
- MIN_GAIN, MAX_GAIN and MAX_DISTANCE are values used for clamping gain and distance, respectively.
- Enumerator:
-
None |
|
InverseDistance |
|
InverseDistanceClamped |
|
|