LoadingManager

new LoadingManager(onLoad?, onProgress?, onError?)
THREE: THREE.LoadingManager

Tracks the loading progress of multiple loaders. Fires callbacks when all items finish or when individual items fail.

Properties

NameTypeDescription
isLoading

boolean

True while any items are still loading.

Methods

MethodDescription
itemStart(url: string): void

Registers a new item as loading.

itemEnd(url: string): void

Marks an item as finished. Fires onLoad when all items are done.

itemError(url: string): void

Reports a failed item to the onError callback.

resolveURL(url: string): string

Returns the final URL after path resolution.