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