4.12 Interaction 交互 - Scroll Settings 滚动设置


Customize a Scroll patch's behavior.
定义 Scroll 模块的行为。

4.12 Interaction 交互 - Scroll Settings 滚动设置_第1张图片

输入口
Content Size内容大小
The width and height of the layer to be scrolled. Defaults to the size of the layer selected in the accompanying Scroll patch.
滚动的图层的宽度和高度。默认大小是Scroll模块选择的图层的大小。

Bounds Size 容器大小
The width and height of the container in which the layer is scrolled. Defaults to the size of the parent group of the layer selected in the accompanying Scroll patch. If the layer does not have a parent group, it defaults to the size of the device.
滚动的容器层的大小。默认尺寸为Scroll模块选则的图层的父组的大小。如果图层没有父组,默认尺寸为设备尺寸。

Direction Locking 方向锁定
A boolean that is true when scrolling is locked to the initial direction a user scrolls it per touch.
用户每次滚动时锁定到初始方向时。

Page Size 页面大小
The width and/or height of a page when the Scroll patch is set to Paging. The page will be centered in the bounds. Only needs to be defined in the axis that the Scroll patch is paging (ex: only page width is required for a Paging X Scroll). Ensure the layer being scrolled is divisible by the page size and padding.
当Scroll模块设置为Paging时页面的宽度、高度。页面居中。只需要在Scroll模块设置为Paging时定义轴(例:只需要分页x滚动所需的页面宽度)。确保图层可以整除页面大小和内边距。
(板栗:不理解这里)

Page Padding
The padding between each page when the Scroll patch is set to Paging. Only needs to be defined in the axis that the Scroll patch is paging (ex: only padding width is required for a Paging X Scroll).
当Scroll模块设置为Paging时,每页之间的内边距。只需要在Scroll模块是Paging时定义轴(例:仅为分页x滚动所需的填充宽度)。
(板栗:不理解这里)

Scrolling Friction 滚动摩擦力
A number between 1-100 that represents the friction that slows down the layer when flicked.
1~100之间的数字表示摩擦值,图层减缓时的弹性。
(板栗:试了调成不同的值但是没看出差别啊)

Rubber Band Tension 橡皮筋张力
A number between 10-1000 that represents the speed the layer returns to the scroll boundaries when dragged and released beyond the boundaries.
10~1000之间的数字,代表图层拖动超出边界后的回弹的弹力。
(板栗:值越大弹性越大,速度越快)

Rubber Band Friction 橡皮筋摩擦
A number between 10-1000 that represents the friction that slows down the layer when returning to the scroll boundaries after being released beyond the boundaries.
10~1000之间的数字,代表图层拖动超出边界后的回弹时的摩擦力。
(板栗:值越大摩擦力越大,弹性越小)

Jump Style 样式跳转
The jump style (animated or instant).
跳跃风格(动画或即时)。
(板栗:不知道是啥)

Jump to X 跳转到X原始值
A pulse that jumps the Scroll X position.
X轴复位。

Jump X Position 跳转到X轴坐标
The X position to jump to.
跳转到定义的X坐标值。

Jump to Y跳转到Y原始值
A pulse that jumps the Scroll Y position.
Y轴复位。

Jump Y Position 跳转到Y轴坐
The Y position to jump to.
跳转到定义的Y坐标值。

输出口
Settings 设置
The settings to pass to a Scroll patch.
连接到Scroll模块的Setting接口。


Related Patches 相关模块

Scroll

你可能感兴趣的:(4.12 Interaction 交互 - Scroll Settings 滚动设置)