rolloffFactor
A factor that determines the attenuation curve.
Declaration
var rolloffFactor: Float { get set }Discussion
A higher value results in a steeper attenuation curve. The default value is 1.0, and the value must be greater than 0.0.
This property is relevant for AVAudioEnvironmentDistanceAttenuationModel.exponential, AVAudioEnvironmentDistanceAttenuationModel.inverse, and AVAudioEnvironmentDistanceAttenuationModel.linear.