I3DMLoader.d.ts 584 B

12345678910111213141516171819202122232425
  1. import { I3DMBaseResult } from '../base/I3DMLoaderBase';
  2. import { FeatureTable, BatchTable } from '../utilities/FeatureTable';
  3. import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
  4. import { Group, LoadingManager } from 'three';
  5. interface I3DMScene extends Group {
  6. batchTable : BatchTable;
  7. featureTable : FeatureTable;
  8. }
  9. export interface I3DMResult extends GLTF, I3DMBaseResult {
  10. scene : I3DMScene;
  11. }
  12. export class I3DMLoader {
  13. constructor( manager : LoadingManager );
  14. load( url : String ) : Promise< I3DMResult >;
  15. parse( buffer : ArrayBuffer ) : I3DMResult;
  16. }