onMove

fun onMove(cameraNode: CameraNode, cameraConfiguration: CameraConfiguration, moveGestureDetector: MoveGestureDetector)

This function is called when the user performs a pan gesture on the screen. It is responsible for panning the 3D scene.

Parameters

cameraNode

the camera node in the scene view component that contains the 3D scene

moveGestureDetector

the move gesture detector object that detects the move gesture

cameraConfiguration

the camera configuration object that contains information about the camera configuration