10.18 Utility - Progress 进度


Convert a number from any range to progress (0 to 1). Useful with [Transition] to convert an animating value to another range.
将任何范围内的数字转换为进度(0到1)。和 [Transition] 一起可将动画值转换为其它的范围(例如:100~125、20~30)。

输入口

Value 值
A number to convert.
要转换的值。

Start Value 开始值
The start value of the range.
范围的开始值。

End Value 结束值
The end value of the range.
范围的结束值。

输出口

Progress 进度
A progress value. See Animation Basics for more information.
进度值。
有关详细信息,请参阅基础-动画


Related Patches

TransitionClip


Related Examples

Instagram Adjust
Use drag to control the Instagram straighten tool.

Instagram Carousel
Create horizontal scrolling with page indicators.

Instagram Compose
Switch between the Instagram upload options.

Instagram Stories Scroll
Tap to switch between read and unread Instagram Stories.


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,559评论 0 23
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,789评论 2 45
  • A不喜欢吃鸡蛋,第一次发了鸡蛋给B吃。刚开始B很感谢,A实话实说,“我不喜欢吃鸡蛋,难得你喜欢吃。”但是后来几次B...
    Mr_CrazyH阅读 1,468评论 0 1

友情链接更多精彩内容