4.13 Interaction 交互 - Scrollaway


Calculate the progress off a scroll away navigation element.
计算滚动导航元素的进度。

输入口

Scroll Position 滚动位置
The current scroll position from a Scroll patch.
滚动条的当前滚动位置。

Scrollaway Offset 滚动距离偏移
The offset the element should be scrolled away by.
元素应滚动了偏移。

Bottom Bound 底部边界
A number representing the lowest bound of the Scroll (ex: -1500). Get this by scrolling the layer to the top and looking at the Scroll position. Used to limit the scrollaway effect within a certain range.
表示滚动的最低界限 (例:-1500)。通过滚动图层到顶部查看Scroll位置。用于有范围限制的滚动。

Top Bound 顶部边界
A number representing the highest bound of the Scroll (ex: 1500). Get this by scrolling the layer to the bottom and looking at the Scroll position. Used to limit the scrollaway effect within a certain range.
表示滚动的最高界限 (例:1500)。通过滚动图层到底部查看Scroll位置。用于有范围限制的滚动。

输出口

Progress 进度
A number from 0-1 that represents the progress of the scrollaway. Connect to Transition patches to convert it to the position, scale, opacity or any other property.
一个从0-1表示的scrollaway的进度。连接到Transition模块,将其转换为位置、比例、不透明度或任何其他属性。


Related Patches 相关模块

Transition,Scroll

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

推荐阅读更多精彩内容

  • 我的好朋友水水有一天晚上问我:阿婷,我以后不想参加任何的聚会了。 我瞪大眼睛满脸惊讶的问道:这以前老公不在家恨不得...
    e2592d749b90阅读 1,345评论 0 0
  • Description 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多...
    Gadore千里阅读 3,696评论 0 0
  • 上周日买了车票直奔上海,周一到周三阻击式行进,思想的震荡颇多。 从城市的距离来讲,郑州和上海并不是很远...
    Crystal随笔阅读 1,521评论 0 0
  • IDE选择 鉴于对eclipse的熟悉,不希望再投入成本学习新的ide,故而选择了eclipse cdt作为C语言...
    daoqidelv阅读 4,145评论 0 51