IModelViewportControlOptions Interface

Beta  

IModelViewportControl options. These options are set in the applicationData property of the ContentProps.

Methods

Name Description
supplyViewOverlay(_viewport: ScreenViewport): ReactNode Optional Optional property to supply custom view overlay.  

Properties

Name Type Description
alwaysUseSuppliedViewState undefined | boolean Optional property to always use the supplied viewState property instead of using viewport.view when set  
bgColor undefined | string Optional background color which may be used if viewState and iModelConnection are undefined  
deferNodeInitialization undefined | boolean Optional property to defer reactNode initialization until first reactNode property in needed.  
disableDefaultViewOverlay undefined | boolean Optional property to disable the use of the DefaultViewOverlay  
iModelConnection IModelConnection | () => IModelConnection IModelConnection of data in Viewport  
viewState undefined | ViewStateProp ViewState or a function to return a ViewState  

Defined in

Last Updated: 29 November, 2022