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 2201
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.