Instance Property

maximumDistance

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

Declaration

var maximumDistance: Float { get set }

Discussion

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.