This shows you the differences between two versions of the page.
— |
gestures:touch:simple:spatial:rotate:4-finger-rotate [2019/01/29 19:07] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 4-Finger-Rotate ====== | ||
+ | (Touch -> Spatial -> Rotate -> Four Point Rotate Gesture “4-Finger-Rotate”) | ||
+ | <code:csharp linenums:1> | ||
+ | <Gesture id="4-finger-rotate" type="rotate"> | ||
+ | <match> | ||
+ | <action> | ||
+ | <initial> | ||
+ | <cluster point_number="4"/> | ||
+ | </initial> | ||
+ | </action> | ||
+ | </match> | ||
+ | <analysis> | ||
+ | <algorithm> | ||
+ | <library module="rotate"/> | ||
+ | <returns> | ||
+ | <property id="rotate_dtheta" result="dtheta"/> | ||
+ | </returns> | ||
+ | </algorithm> | ||
+ | </analysis> | ||
+ | <mapping> | ||
+ | <update dispatch_type="continuous"> | ||
+ | <gesture_event type="rotate"> | ||
+ | <property ref="rotate_dtheta" target="rotate"/> | ||
+ | </gesture_event> | ||
+ | </update> | ||
+ | </mapping> | ||
+ | </Gesture> | ||
+ | </code> |