ViewCreator3d Class

Beta  API for creating a 3D default ViewState for an iModel.

const viewCreator = new ViewCreator3d(imodel);
const defaultView = await viewCreator.createDefaultView({skyboxOn: true});


Name Description
constructor(_imodel: IModelConnection): ViewCreator3d Constructs ViewCreator3d with ViewCreator3d.iModelConnection.  
createDefaultView(options?: ViewCreator3dOptions, modelIds?: string[]): Promise<ViewState> Creates a default ViewState based on the given model ids.  

Defined in

Last Updated: 05 November, 2020