1.5 Animation 动画 - Repeating Motion 重复运动


Animate a number (ex: position, opacity, scale) back and forth repeatedly.

输入口
Enable 启用
A boolean that turns the animation on/off.
开/关的布尔值,意思在开合关之间切换。

Duration 持续时间
The length, in seconds, of the animation in one direction.
时间长度。

Curve 曲线
The easing curve to animate with. The options are:

  1. Linear
  2. Quadratic In, Out, In & Out
  3. Cubic In, Out, In & Out
  4. Exponential In, Out, In & Out
  5. Sinusoidal In, Out, In & Out

选项和 Classic Animation 一样。

Reset 重启
A pulse that returns the animation to the beginning.
让动画跳回开始时。

输出口

Progress 进度
A progress value。 See Animation Basics for more information.
进度值。更多信息,请查看动画基础


Related Parches 相关模块

Pop AnimationClassic AnimationCurve,[Repeating Pluse]


Related Examples 案例

Traffic Light
Transition across three or more states and include logic.

案例的链接暂时还没有


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容