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.