camera.zoomIn
zoomIn(delta: number): Promise<void>Zoom in by incrementing the scene's z-position toward the camera.
Not undoable. Does not emit any event.
delta | number | Amount to increase the z zoom value (default: 2). |
Returns: Promise<void>
Example
await api.camera.zoomIn(4); // zoom in by 4 units