scroll

actual fun scroll(x: Int, y: Int, delta: Float)

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

Parameters

x

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

y

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

delta

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

expect fun scroll(x: Int, y: Int, delta: Float)

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

Parameters

x

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

y

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

delta

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

actual fun scroll(x: Int, y: Int, delta: Float)

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

Parameters

x

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

y

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

delta

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

actual fun scroll(x: Int, y: Int, delta: Float)

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

Parameters

x

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

y

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

delta

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

actual fun scroll(x: Int, y: Int, delta: Float)

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

Parameters

x

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

y

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

delta

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