OvershootInterpolator
open class OvershootInterpolator : Interpolator
An interpolator where the change flings forward and overshoots the last value then comes back.
Summary
Public methods |
open Float |
|
Public constructors
<init>
OvershootInterpolator()
<init>
OvershootInterpolator(tension: Float)
Parameters |
tension |
Float: Amount of overshoot. When tension equals 0.0f, there is no overshoot and the interpolator becomes a simple deceleration interpolator. |
Public methods
getInterpolation
@FloatRange(0) open fun getInterpolation(@FloatRange(0, 1) t: Float): Float