sceneview-android
sceneview-android copied to clipboard
How to disable user interactions?
Hi,
I'm working on a project which uses SceneView. We want to find a way how to block user interactions with the view to have a fixed projection of 3D model. Is there any API or preferable way to do it? Unfortunately, we didn't find a way in API to do so and as a workaround we use view.setOnTouchListener { _, _ -> true }
By default, when you position a modelNode in the scene, it has the isEditable and isTouchable properties set to true, it would be enough to set them to false when creating the model