GLTFExporter.d.ts 499 B

123456789101112131415161718192021222324
  1. import {
  2. Object3D,
  3. AnimationClip
  4. } from '../../../src/Three';
  5. export interface GLTFExporterOptions {
  6. binary?: boolean;
  7. trs?: boolean;
  8. onlyVisible?: boolean;
  9. truncateDrawRange?: boolean;
  10. embedImages?: boolean;
  11. animations?: AnimationClip[];
  12. forceIndices?: boolean;
  13. forcePowerOfTwoTextures?: boolean;
  14. includeCustomExtensions?: boolean;
  15. }
  16. export class GLTFExporter {
  17. constructor();
  18. parse( input: Object3D, onCompleted: ( gltf: object ) => void, options: GLTFExporterOptions ): void;
  19. }