zoomToVolume Method
Zoom the view to a volume of space in world coordinates.
zoomToVolume(volume: Readonly<WritableLowAndHighXYZ> | Readonly<WritableLowAndHighXY>, options?: ViewChangeOptions & MarginOptions): void
| Parameter | Type | Description |
|---|---|---|
| volume | Readonly<WritableLowAndHighXYZ> | Readonly<WritableLowAndHighXY> | The low and high corners, in world coordinates. |
| options | ViewChangeOptions & MarginOptions | options that control how the view change works |
Returns - void
Defined in
- core/frontend/src/Viewport.ts Line 2273
Last Updated: 29 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.