4.3 Interaction 交互 - Drag Settings 拖拽设置


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

输入口

Clip 修剪
A boolean that is true when clipping is enabled. Clipping prevents a layer from being dragged out of defined boundaries.
当修剪能启动时,布尔值为真。阻止图层被拖出定义的边界。

Min 最小
A point that defines the top left of the drag boundaries.
定义拖动边界左上角的点。

Max 最大
A point that defines the bottom right of the drag boundaries.
定义拖动边界右下角的点。

Momentum 惯性
A boolean that is true when momentum is enabled. Momentum adds physics when flicking the layer.
勾选后启动惯性。

Momentum Friction 惯性摩擦
A number between 0 and 950 that represents the amount of friction when flicking the layer.
0~950之间的数字表示摩擦量。(板栗:值越小摩擦越小惯性越大)

输出口

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


Related Patches 相关模块

Drag


Related Examples 案例

Instagram Adjust
Use drag to control the Instagram straighten tool.

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

推荐阅读更多精彩内容

  • 如果时光倒着回去。 “hi我们可以做朋友吗?” “刚见你时你一脸高冷的样子,没想到你骨子里是个萌货傻x!” “你刚...
    lemonikkki阅读 3,226评论 1 0
  • 用了大约4个小时看完了《神奇手账》这本图文结合的书——同学说不实用送给我的,但我却发现书中的东西和GTD管理的观念...
    文彩飞扬阅读 3,047评论 0 0
  • 8月,我们因英孚相聚在一起;8月,我们因团队共同进步;五天四夜的巴比松夏令营,我们把时间,激情,希望留给了巴比松,...
    Yoyo花间集阅读 4,729评论 0 0