on Scale
fun onScale(cameraNode: CameraNode, cameraConfiguration: CameraConfiguration, scaleGestureDetector: ScaleGestureDetector)
This function is called when the user performs a pinch gesture on the screen. It is responsible for scaling the 3D scene.
Parameters
camera Node
the camera node in the scene view component that contains the 3D scene
scale Gesture Detector
the scale gesture detector object that detects the scale gesture