SceneView / sceneview-android

SceneView is a 3D and AR Android Composable and View with Google Filament and ARCore. This is a Sceneform replacement in Kotlin
Apache License 2.0
849 stars 161 forks source link

Enable own implementation of camera manipulator #571

Closed kubax2000 closed 1 month ago

kubax2000 commented 1 month ago

Problem

Curently is not possible to modify camera manipulator therefore, neither the orbit, pan and zoom behavior. (Some settings are available via Modifier.Builder(), but for more advanced usage are not sufficient enough.)

Solution

I added CameraManipulator interface to make this possible. Default implemantation (DefaultCameraManipulator) stil uses filament`s manipulator.

kubax2000 commented 1 month ago

Fixed and tested. (https://github.com/kubax2000/sceneview-android/actions/runs/11365138094/job/31612658647)