UNPKG

polygonjs-engine

Version:

node-based webgl 3D engine https://polygonjs.com

25 lines (19 loc) 486 B
import { Object3D, AnimationClip } from '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; }