Is there any documentation on how gyroscope parameters correspond to iTwin camera parameters? #8374
Unanswered
zhang-zimin
asked this question in
Q&A
Replies: 2 comments
-
and could the iTwin viewer’s background come from the camera—i.e., I mean canvas background obtained via WebRTC ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you can obtain an image from the camera you can use DecorateContext.setViewBackground to use it as the view's background. iTwin.js doesn't have any built-in logic for controlling the camera via gyroscope - you'd have to put your own such logic into a new ViewTool. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
we’d like to implement a feature where, as the phone moves, the device’s gyroscope updates the rotation of the iTwin model in real time
Beta Was this translation helpful? Give feedback.
All reactions