FloatExponentialDecaySpec

constructor(@FloatRange(from = 0.0, fromInclusive = false) frictionMultiplier: Float = 1.0f, @FloatRange(from = 0.0, fromInclusive = false) absVelocityThreshold: Float = 0.1f)

Parameters

frictionMultiplier

The friction multiplier, indicating how quickly the animation should stop. This should be greater than 0, with a default value of 1.0.

absVelocityThreshold

The speed at which the animation is considered close enough to rest for the animation to finish.