getVelocityFromNanos
abstract fun getVelocityFromNanos(playTimeNanos: Long, initialValue: V, targetValue: V, initialVelocity: V): V
Calculates the velocity of the animation at given the playtime, with the provided start/end values, and start velocity.
Parameters
playTimeNanos
time since the start of the animation
initialValue
start value of the animation
targetValue
end value of the animation
initialVelocity
start velocity of the animation