LoadingManager
new LoadingManager(onLoad?, onProgress?, onError?)THREE equivalent: THREE.LoadingManager
Tracks the loading progress of multiple loaders. Fires callbacks when all items finish or when individual items fail.
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
isLoading |
boolean |
True while any items are still loading. |
Methods
Section titled “Methods”| Method | Description |
|---|---|
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. |