Initial project import
This commit is contained in:
19
node_modules/three-stdlib/loaders/MDDLoader.d.ts
generated
vendored
Normal file
19
node_modules/three-stdlib/loaders/MDDLoader.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Loader, AnimationClip, BufferAttribute, LoadingManager } from 'three'
|
||||
|
||||
export interface MDD {
|
||||
morphTargets: BufferAttribute[]
|
||||
clip: AnimationClip
|
||||
}
|
||||
|
||||
export class MDDLoader extends Loader {
|
||||
constructor(manager?: LoadingManager)
|
||||
|
||||
load(
|
||||
url: string,
|
||||
onLoad: (result: MDD) => void,
|
||||
onProgress?: (event: ProgressEvent) => void,
|
||||
onError?: (event: ErrorEvent) => void,
|
||||
): void
|
||||
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<MDD>
|
||||
parse(data: ArrayBuffer): MDD
|
||||
}
|
||||
Reference in New Issue
Block a user