Newer
Older
HuangJiPC / public / static / three / examples / jsm / exporters / GLTFExporter.d.ts
@zhangdeliang zhangdeliang on 21 Jun 499 bytes update
import {
	Object3D,
	AnimationClip
} from '../../../src/Three';

export interface GLTFExporterOptions {
	binary?: boolean;
	trs?: boolean;
	onlyVisible?: boolean;
	truncateDrawRange?: boolean;
	embedImages?: boolean;
	animations?: AnimationClip[];
	forceIndices?: boolean;
	forcePowerOfTwoTextures?: boolean;
	includeCustomExtensions?: boolean;
}

export class GLTFExporter {

	constructor();

	parse( input: Object3D, onCompleted: ( gltf: object ) => void, options: GLTFExporterOptions ): void;

}