OffsetLinearDistanceFactor

constructor(@FloatRange(from = 0.0, to = Infinity) start: Float = 0.0f, @FloatRange(from = 0.0, to = Infinity) end: Float = 0.5f)

Parameters

start

determines from which distance the factor starts to increase.

end

determines from which distance the factor is 1f.