mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 12:37:16 +08:00
17 lines
517 B
TypeScript
17 lines
517 B
TypeScript
// Type definitions for three.js (ColladaLoader2.js)
|
|
// NOTE : These typings are for the loader named ColladaLoader2.js
|
|
// supplied by the npm package @types/three 0.81.
|
|
// Definitions by: Emilio Rivera
|
|
|
|
declare namespace THREE {
|
|
export class ColladaModel {
|
|
animations: any[];//[];
|
|
kinematics: any;// { joints: []};
|
|
scene: THREE.Scene;
|
|
}
|
|
export class ColladaLoader {
|
|
constructor();
|
|
|
|
load(url: string, onLoad: (model: ColladaModel) => void): void;
|
|
}
|
|
} |