Dosen原创
这是我学习quartz composer,Origami,看官方文档翻译下来的,每天一篇,有不准确的地方希望能指出,一起交流进步。转载请与我联系,擅自转载视作侵权。
Progress Values 进度值
Values in the range of 0 to 1 are a common concept in Origami prototyping. By animating values in this range, you are keeping your animations generic so they can be translated to specific layer properties using the Transition patch.
在Origami原型中,从0-1的值范围是一个通用概念。动画值在这个范围,你可以使用变换模块控制动画,移动到特定的内容。
Usually you will have a Switch that is flipping between 0 and 1. That feeds into a Pop Animation patch which animates the change between 0 and 1 called a progress value. Then you generally connect that progress value to multiple Transition patches to adjust potentially many different layer properties of many different layers. All of the animations will be synchronized on the same animation curve.
通常用一个Switch来控制0到1,它提供给Pop动画模块一个0-1的进度值来改变动画。一般需要你连接进度值和多个变换模块来调整一些不同的层的不同的属性。所有动画会同步成一样的动画曲线。