diff --git a/three/three-colladaLoader.d.ts b/three/three-colladaLoader.d.ts index f512d73cd9..6bdec6a9da 100644 --- a/three/three-colladaLoader.d.ts +++ b/three/three-colladaLoader.d.ts @@ -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; } } \ No newline at end of file