getVelocityFromNanos

abstract fun getVelocityFromNanos(playTimeNanos: Long, initialValue: V, initialVelocity: V): V

Returns the velocity of the animation at the given time.

Parameters

playTimeNanos

The time elapsed in milliseconds since the initialValue of the animation

initialValue

The initialValue value of the animation

initialVelocity

The initialValue velocity of the animation