Instance Property


The distance, in meters, beyond which no further attenuation is applied.


var maximumDistance: Float { get set }


The default value is 100000.0 meters.

This property is relevant for the AVAudioEnvironmentDistanceAttenuationModel.inverse attenuation model.

See Also

Getting and Setting the Attenuation Values

var referenceDistance: Float

The minimum distance, in meters, at which attenuation is applied.

var rolloffFactor: Float

A factor that determines the attenuation curve.