Skip to main content

Type Alias: SetZoom()

SetZoom: (zoom) => Promise<void>

Set specific zoom value for the scene. Retrieves the active camera from the Babylon.js scene and sets new radius of the camera.

Parameters

zoom: number

New zoom value

Returns

Promise<void>