Dosen原創(chuàng)
這是我學(xué)習(xí)quartz composer,Origami煮盼,看官方文檔翻譯下來的,每天一篇带污,有不準(zhǔn)確的地方希望能指出孕似,一起交流進(jìn)步。轉(zhuǎn)載請與我聯(lián)系刮刑,擅自轉(zhuǎn)載視作侵權(quán)喉祭。
Progress Values ? ? 進(jìn)度值
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的值范圍是一個通用概念雷绢。動畫值在這個范圍泛烙,你可以使用變換模塊控制動畫,移動到特定的內(nèi)容翘紊。
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的進(jìn)度值來改變動畫。一般需要你連接進(jìn)度值和多個變換模塊來調(diào)整一些不同的層的不同的屬性。所有動畫會同步成一樣的動畫曲線鹉究。