|
@@ -1,6 +1,6 @@
|
|
import {
|
|
import {
|
|
- AnimationClip,
|
|
|
|
- LoadingManager,
|
|
|
|
|
|
+ AnimationClip,
|
|
|
|
+ LoadingManager,
|
|
Scene
|
|
Scene
|
|
} from '../../../src/Three';
|
|
} from '../../../src/Three';
|
|
|
|
|
|
@@ -9,7 +9,7 @@ export interface Collada {
|
|
animations: AnimationClip[];
|
|
animations: AnimationClip[];
|
|
kinematics: object;
|
|
kinematics: object;
|
|
library: object;
|
|
library: object;
|
|
- scene: Scene;
|
|
|
|
|
|
+ scene: Scene;
|
|
}
|
|
}
|
|
|
|
|
|
export class Collada {
|
|
export class Collada {
|
|
@@ -20,7 +20,7 @@ export class Collada {
|
|
resourcePath: string;
|
|
resourcePath: string;
|
|
|
|
|
|
load(url: string, onLoad: (collada: Collada) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void) : void;
|
|
load(url: string, onLoad: (collada: Collada) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void) : void;
|
|
- setPath(path: string) : this;
|
|
|
|
|
|
+ setPath(path: string) : this;
|
|
setResourcePath(path: string) : this;
|
|
setResourcePath(path: string) : this;
|
|
setCrossOrigin(value: string): this;
|
|
setCrossOrigin(value: string): this;
|
|
|
|
|