OffScreenViewportOptions Interface
Options supplied when creating an OffScreenViewport.
@see OffScreenViewport.create.
Properties
| Name | Type | Description | |
|---|---|---|---|
| lockAspectRatio | boolean | undefined | If true, the viewport's aspect ratio will remain fixed. | |
| view | ViewState | The view to be drawn in the viewport. | |
| viewRect | ViewRect | The dimensions of the viewport. | 
Defined in
- core/frontend/src/Viewport.ts Line 3837
Last Updated: 30 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.