Control Viewer SDK
Get Current Camera Information
You can call getCameraInformation to get hotspotId, position, and viewer angle.
Then you can use above information to control viewer to go some hotspots and look direction.
Go to hotspot
You can call goToHotspotLocation with following code to go certain hotspot location with view angle:
Go to and face to tag
You can call goToHotspotLocation with following code to go certain hotspot location with view angle:
Switch floor number
You can call goFloorLocation to switch floor with number
And call getAllFloorNumbers to get current scene how many floors can go
Get tag id when user click tag
When user click tags on 3d, it triggers and send cmd opentag to message listener, you can handle customized tag dialog and fetch data from your db in this scenario
More SDK controls
There are more controls function, such as dollhouse, and hotspot visible please check:
pageSDK ReferenceLast updated