getValueFromNanos

abstract fun getValueFromNanos(playTimeNanos: Long, initialValue: V, targetValue: V, initialVelocity: V): V

Calculates the value 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