Feature Request: Controlling zoom by JavaScript #3375
Unanswered
fbenedetti06
asked this question in
Q&A
Replies: 1 comment
-
I would recommend https://modelviewer.dev/docs/#entrydocs-stagingandcameras-attributes-disable-zoom and https://modelviewer.dev/docs/#entrydocs-stagingandcameras-methods-zoom and https://modelviewer.dev/docs/#entrydocs-stagingandcameras-attributes-cameraOrbit All attributes are "set" methods: just like normal HTML, any hyphenated-attribute can be set in JS via camelCase: |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to control Zoom/Camera/Orbit by program?
No "set" function in [Staging & Cameras][Methods]!
I will have to disable zoom because users zoom the model each time they want to scroll the web page with mouse wheel.
I know I'm not the only one with this trouble.
My idea is to be able to create a slider on side of model to keep the ability to zoom...
Beta Was this translation helpful? Give feedback.
All reactions