Initial project import
This commit is contained in:
20
node_modules/three-stdlib/loaders/ColladaLoader.d.ts
generated
vendored
Normal file
20
node_modules/three-stdlib/loaders/ColladaLoader.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Loader, LoadingManager, Scene } from 'three'
|
||||
|
||||
export interface Collada {
|
||||
kinematics: object
|
||||
library: object
|
||||
scene: Scene
|
||||
}
|
||||
|
||||
export class ColladaLoader extends Loader {
|
||||
constructor(manager?: LoadingManager)
|
||||
|
||||
load(
|
||||
url: string,
|
||||
onLoad: (collada: Collada) => void,
|
||||
onProgress?: (event: ProgressEvent) => void,
|
||||
onError?: (event: ErrorEvent) => void,
|
||||
): void
|
||||
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Collada>
|
||||
parse(text: string, path: string): Collada
|
||||
}
|
||||
Reference in New Issue
Block a user