ColladaExporter.d.ts 429 B

1234567891011121314151617181920
  1. import { Object3D } from '../../../src/Three';
  2. export interface ColladaExporterOptions {
  3. author?: string;
  4. textureDirectory?: string;
  5. version?: string;
  6. }
  7. export interface ColladaExporterResult {
  8. data: string;
  9. textures: object[];
  10. }
  11. export class ColladaExporter {
  12. constructor();
  13. parse( object: Object3D, onDone: ( res: ColladaExporterResult ) => void, options: ColladaExporterOptions ): ColladaExporterResult | null;
  14. }