User Tools

Site Tools


gestures:touch:simple:spatial:drag-move:3-finger-drag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gestures:touch:simple:spatial:drag-move:3-finger-drag [2019/01/29 19:07] (current)
Line 1: Line 1:
 +====== 3-Finger-Drag ======
 +(Touch -> Spatial -> Drag/Move -> Three Point Drag Gesture “3-Finger-Drag”)
  
 +<​code:​csharp linenums:​1>​
 +<Gesture id="​3-finger-drag"​ type="​drag">​
 +    <​match>​
 +        <​action>​
 +            <​initial>​
 +                <cluster point_number="​3"/>​
 +            </​initial>​
 +        </​action>​
 +    </​match> ​      
 +    <​analysis>​
 +        <​algorithm>​
 +            <library module="​translate"/>​
 +            <​returns>​
 +                <​property id="​drag_dx"​ result="​dx"/>​
 +                <​property id="​drag_dy"​ result="​dy"/>​
 +            </​returns>​
 +        </​algorithm>​
 +    </​analysis> ​   ​
 +    <​mapping>​
 +        <update dispatch_type="​continuous">​
 +            <​gesture_event type="​drag">​
 +                <​property ref="​drag_dx"​ target="​x"/>​
 +                <​property ref="​drag_dy"​ target="​y"/>​
 +            </​gesture_event>​
 +        </​update>​
 +    </​mapping>​
 +</​Gesture>​
 +</​code>​
gestures/touch/simple/spatial/drag-move/3-finger-drag.txt · Last modified: 2019/01/29 19:07 (external edit)