viewerWithTemplate.ts 472 B

123456789101112
  1. import { AbstractViewer } from "./viewer";
  2. import { ConfigurationLoader } from "../configuration/loader";
  3. /**
  4. * The AbstractViewer is the center of Babylon's viewer.
  5. * It is the basic implementation of the default viewer and is responsible of loading and showing the model and the templates
  6. */
  7. export abstract class AbstractViewerWithTemplate extends AbstractViewer {
  8. protected getConfigurationLoader(){
  9. return new ConfigurationLoader();
  10. }
  11. }