Scene View
fun SceneView(scene: Scene, modifier: Modifier = Modifier, sceneController: SceneController, onTap: (Feature?) -> Unit = { _ -> }, onAvatarTap: (String) -> Unit = { _ ->}, onViewPointChanged: () -> Unit = {}, onFinishLoading: () -> Unit = {})
Composable function that creates a SceneView and binds it to the provided scene and scene controller.
Parameters
scene
The scene to be displayed in the SceneView.
modifier
The modifier for styling or positioning the SceneView. Default is Modifier.
scene Controller
The SceneController instance for controlling the SceneView.
on Tap
The callback function to be invoked when a feature is tapped in the SceneView. Default is an empty lambda.
on Avatar Tap
The callback function to be invoked when an avatar is tapped in the SceneView. Default is an empty lambda.
on View Point Changed
The callback function to be invoked when the viewpoint of the SceneView changes. Default is an empty lambda.
on Finish Loading
The callback function to be invoked when the SceneView finishes loading. Default is an empty lambda.