Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
interaction [2020/05/26 12:47] – [Gesture Interaction] admininteraction [2020/05/26 12:53] – [Gesture Interaction] admin
Line 209: Line 209:
  
 ===== Gesture Interaction ===== ===== Gesture Interaction =====
 +
 +Gesture handling is supported for Gorilla3D viewport. To allow gesture management you will need a TGestureManager component on your form and you have to link it to the TGorillaViewport component.
 +
 +In the example below it is described, how to rotate and zoom a model. Therefor we use the interactive gestures: ZOOM and PAN.
 +In the //OnGesture// event of our GorillaViewport1 we setup a callback procedure to handle gesture input. Simple check for the supplied interactive gesture event: //igiZoom// or //igiPan// and execute the very simple //DoZoom// and //DoRotate// sub-routines.
  
 <file pascal> <file pascal>