##### Views

- Page
- Discussion
- View source
- History

# DistanceModel

Available since LÖVE 0.8.0
This enum is not supported in earlier versions.

The different distance models.

Extended information can be found in the Creative documentation.

## Constants

none
  Sources do not get attenuated.
inverse
  Inverse distance attenuation.
inverse clamped
  Inverse distance attenuation. Gain is clamped.
linear
  Linear attenuation.
linear clamped
  Linear attenuation. Gain is clamped.
exponent
  Exponential attenuation.
exponent clamped
  Exponential attenuation. Gain is clamped.

## See Also

- love.audio
- love.audio.setDistanceModel
- love.audio.getDistanceModel

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/DistanceModel"
Category: Enums

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties