i tried read api reference,but i did not find it.so this can be solved?
I assume you are looking for a way to limit the camera's location and orientation when a user is interacting with the SceneView? In other words, as a user may zoom in/out of the scene, or tilt the camera or pan the globe using built-in SceneView gestures, you would like to constrain how much the user can "move around" within the scene?
This is currently not supported through the API. Could you give us some more details about your use cases and requirements, in particular:
- a description of your use case(s)
- would you want to limit the camera relatively to a specific location (point) or an area, does camera orientation also need to be constraint etc...
For example,
1.In SceneView, limiting the Pitch of the Camera can only be overlooking, so as to achieve the effect of 2D and 3D switching.
2.In 200.2, due to the zoom Angle shift bug, how to limit the sliding sensitivity to 100.15.1 is fine.
3.There is also the method (sceneView!!.interactionOptions.isFlingEnabled = false) in 200.2Did not succeed in limiting the inertial slide.