Added missing methods

This commit is contained in:
SirKhepre
2017-02-17 13:10:05 -05:00
parent 6939f95651
commit ad602b106a

View File

@@ -4,14 +4,20 @@
// Definitions by: Brandon Roberge
declare namespace THREE {
export interface ColladaLoaderReturnType {
}
export class ColladaModel {
animations: any[];//[];
kinematics: any;// { joints: []};
animations: any[];
kinematics: any;
scene: THREE.Scene;
library: any;
}
export class ColladaLoader {
constructor();
load(url: string, onLoad: (model: ColladaModel) => void): void;
load(url: string, onLoad: (model: ColladaModel) => void, onProgress?: (request: ProgressEvent) => void, onError?:(event: ErrorEvent) => void): void;
setCrossOrigin(value: any): void;
parse(text: string): ColladaModel;
}
}