scroll

fun scroll(x: Int, y: Int, scrolldelta: Float)

In Mode.MAP and Mode.ORBIT modes, dollys the camera along the viewing direction. In Mode.FREE_FLIGHT mode, adjusts the move speed of the camera.

Parameters

x

X-coordinate for the point of interest in viewport space; ignored in Mode.FREE_FLIGHT

y

Y-coordinate for the point of interest in viewport space; ignored in Mode.FREE_FLIGHT

scrolldelta

in Mode.MAP and Mode.ORBIT: negative means "zoom in", positive means "zoom out"; in Mode.FREE_FLIGHT: negative means "slower", positive means "faster"