cameraEventTouchStart

Event function that is executed when a finger touches the viewport.

Details

If one finger touches the viewport, a camera orbiting process is started. If two fingers touch the viewport, a dollying process is started.

The "ViewportEvent*()" functions are directly called by the firing events. The functions check, if the event has the correct features (e.g. if the left, middle or right mouse button was pressed and if this one is associated with the respective process) and whether the the process was enabled or disabled by the API user (cameraOrbit, cameraDolly). Then it triggers one of the ViewportProcess*() functions.

Parameters

event

Event object.