Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three-stdlib /exporters /ColladaExporter.d.ts
| import { Object3D } from 'three'; | |
| /** | |
| * https://github.com/gkjohnson/collada-exporter-js | |
| * | |
| * Usage: | |
| * const exporter = new ColladaExporter(); | |
| * | |
| * const data = exporter.parse(mesh); | |
| * | |
| * Format Definition: | |
| * https://www.khronos.org/collada/ | |
| */ | |
| export interface ColladaExporterOptions { | |
| author?: string; | |
| textureDirectory?: string; | |
| version?: string; | |
| } | |
| export interface ColladaExporterResult { | |
| data: string; | |
| textures: object[]; | |
| } | |
| declare class ColladaExporter { | |
| private options; | |
| private geometryInfo; | |
| private materialMap; | |
| private imageMap; | |
| private textures; | |
| private libraryImages; | |
| private libraryGeometries; | |
| private libraryEffects; | |
| private libraryMaterials; | |
| private canvas; | |
| private ctx; | |
| private transMat; | |
| private getFuncs; | |
| constructor(); | |
| parse(object: Object3D, onDone: (res: ColladaExporterResult) => void, options?: ColladaExporterOptions): ColladaExporterResult | null; | |
| private format; | |
| private base64ToBuffer; | |
| private imageToData; | |
| private attrBufferToArray; | |
| private subArray; | |
| private getAttribute; | |
| private getTransform; | |
| private processGeometry; | |
| private processTexture; | |
| private processMaterial; | |
| private processObject; | |
| } | |
| export { ColladaExporter }; | |
Xet Storage Details
- Size:
- 1.28 kB
- Xet hash:
- 325c4c16faa181d5ddb00564b8f50681f9fc0f135603f755b01bf3ae696fd7a1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.