Compose API Reference Compose Animation Core getVelocityFromNanos Function Common public fun <T, V : AnimationVector> Animation<T, V>.getVelocityFromNanos(playTimeNanos: Long): T Returns the velocity of the animation at the given play time. Parameters playTimeNanosthe play time that is used to calculate the velocity of the animation.
Compose API Reference Compose Animation Core getVelocityFromNanos Function Common public fun <T, V : AnimationVector> Animation<T, V>.getVelocityFromNanos(playTimeNanos: Long): T Returns the velocity of the animation at the given play time. Parameters playTimeNanosthe play time that is used to calculate the velocity of the animation.