onRotate

fun onRotate(cameraNode: CameraNode, cameraConfiguration: CameraConfiguration, gestureDetector: RotateGestureDetector)

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

Parameters

cameraNode

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

gestureDetector

the rotation gesture detector object that detects the rotation gesture

cameraConfiguration

the camera configuration object that contains information about the camera properties of the 3D scene*