grabBegin

fun grabBegin(x: Int, y: Int, strafe: Boolean)

Starts a grabbing session (i.e. the user begins dragging in the viewport).

In Mode.MAP mode, this starts a panning session. In Mode.ORBIT mode, this starts either rotating or strafing. In Mode.FREE_FLIGHT mode, this starts a nodal panning session.

Parameters

strafe

Mode.ORBIT only: if true, starts a translation rather than a rotation