mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 10:49:36 +02:00
24 lines
499 B
TypeScript
24 lines
499 B
TypeScript
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;
|
|
|
|
}
|