Back to the Shapespark home page

Is there possible to switch Views Navigation by Javascript?

Just as topic said, Have some methods to switch certain views navigation by Javascript and no need to add new views?
For example,click a button to switch Walk to Orbit,and camera position not moving.
屏幕截图 2022-03-23 161031
And does the attribute value of Navigation is variable in Javascript?

There are no API functions to do it. Orbit views have different camera parameters than Walk views, they need to know a point around which the camera rotates.

1 Like