RotatingSpeedState
struct RotatingSpeedState<Value: VectorArithmetic>: AnimationStateKey
Rotating Speed State
-
projectedDuration combines the duration of the animation with the speed and the remaining animation For example: If the animation was initialized with a duration of 2.0 seconds, and half-way (at 1.0 second elapased) the speed is changed from 1.0X to 0.5X, the projectedDuration would be 3.0 seconds
Declaration
Swift
var projectedDuration: TimeInterval?
-
the percentage of animation that has been performed so far (0.0 at the begining, and 1.0 at the end)
Declaration
Swift
var completion: Double = 0.0
-
The time when the context was last updated
Declaration
Swift
var lastTime: TimeInterval = 0.0
-
The default value
Declaration
Swift
static var defaultValue: Self