Skip to main content

Type Alias: IncreaseZoom

IncreaseZoom = (step?, options?) => Promise<void>

Function

Moves the camera away by one step (lengthens the eye-to-target distance). Use for a zoom-out button: despite the name, increaseZoom increases the distance, so the product looks smaller. The default step is 0.005. In orthographic mode it scales the visible height. In perspective it scales the bounded range when both limits are set, and otherwise applies directly in scene units. Pass { pauseAutoRotate: true } to use runtime camera handling and defer idle rotation. Omitting it keeps the legacy zoom path.

Parameters​

step?​

number

options?​

CameraZoomOptions

Returns​

Promise<void>

Example​

await window.mimeeqApp.actions.increaseZoom(undefined, { pauseAutoRotate: true });