Contents

velocity(value:time:context:)

Calculates the current velocity of the animation.

Declaration

func velocity<V>(value: V, time: TimeInterval, context: AnimationContext<V>) -> V? where V : VectorArithmetic

Return Value

The current velocity of the animation, or nil if the velocity isn’t available.