OffScreenViewportOptions Interface

Options supplied when creating an OffScreenViewport.

@see OffScreenViewport.create.

Properties

Name Type Description
lockAspectRatio undefined | boolean 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

Last Updated: 16 April, 2024