getVelocityFromNanos

fun <T, V : AnimationVector> Animation<T, V>.getVelocityFromNanos(playTimeNanos: Long): T

Returns the velocity of the animation at the given play time.

Parameters

playTimeNanos

the play time that is used to calculate the velocity of the animation.