getValueFromNanos

abstract fun getValueFromNanos(playTimeNanos: Long, initialValue: Float, initialVelocity: Float): Float

Returns the value of the animation at the given time.

Parameters

playTimeNanos

The time elapsed in milliseconds since the start of the animation

initialValue

The start value of the animation

initialVelocity

The start velocity of the animation