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


Other Languages