GLTFExporter.d.ts 506 B

12345678910111213141516171819202122
  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. }