mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Update three-fbxloader.d.ts
add animation for result value
This commit is contained in:
Vendored
+5
-2
@@ -3,12 +3,15 @@
|
||||
import { LoadingManager } from "./three-core";
|
||||
import {Group} from "./three-core";
|
||||
|
||||
interface ILoadedModel extends Group {
|
||||
animations?: AnimationClip[];
|
||||
}
|
||||
export class FBXLoader {
|
||||
|
||||
constructor(manager?: LoadingManager);
|
||||
manager: LoadingManager;
|
||||
|
||||
load(url: string, onLoad: (group: Group) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
|
||||
load(url: string, onLoad: (group: ILoadedModel) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
|
||||
parse(FBXText: string, resourceDirectory: string) : Group;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user