Class AnimateControls
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
A running animation or sequence from Animator: Framer Motion's animation controls.
public sealed class AnimateControls
- Inheritance
-
objectAnimateControls
Properties
- Finished
Completes when the animation finishes, and is canceled if it is stopped first (Framer's
then).
- IsFinished
True once every value has reached its last keyframe.
- Speed
The rate time passes at: 1 by default, 0 holds the animation as a pause does. A negative, NaN or infinite value throws.
- TimeSec
Seconds into the timeline.
Methods
- Cancel()
Ends the animation and puts each value it began back to where it started.
- Pause()
Holds the animation where it is.
- Stop()
Ends the animation where it is, leaving each value at what it shows.
- Then(Action)
Runs
callbackwhen the animation finishes, at once if it has.