Type Alias: SetZoom
SetZoom = (
zoom,options?) =>Promise<void>
Function
Sets the camera’s absolute zoom level.
Use the active projection’s zoom units from observers.camera.zoomLevel. Smaller values zoom in. The camera limits clamp the zoom.
Pass { pauseAutoRotate: true } to use runtime camera handling and defer idle rotation. Omitting it keeps the legacy zoom path.
Parameters
zoom
number
options?
Returns
Promise<void>
Example
const { actions, observers } = window.mimeeqApp;
const zoom = observers.camera.zoomLevel.getValue();
if (zoom != null) await actions.setZoom(zoom * 0.9, { pauseAutoRotate: true });