Closed RSNFreud closed 1 year ago
You can disable it outright with skinViewer.controls.enableZoom = false
.
On the topic of setting zoom ranges seems that maxZoom
/minZoom
are supported with PerspectiveCamera
but I can't get it to work 😅.
https://codesandbox.io/s/skinview3d-zoom-clamp-4she68?file=/src/index.js
Oh I reread the docs and it says zoom clamping only works with an OrthographicCamera
and this library uses a PerspectiveCamera
.
Thanks!
Is there a way to disable people from zooming in/out? For example set min/max zoom or something