Optional
manager: LoadingManager'anonymous'
''
''
@default: false
Optional
onLoad: ((texture: Texture) => void)Optional
onProgress: ((event: ProgressEvent<EventTarget>) => void)Optional
onError: ((event: ErrorEvent) => void)Optional
onProgress: ((event: ProgressEvent<EventTarget>) => void)Generated using TypeDoc
Class for loading a texture. Unlike other loaders, this one emits events instead of using predefined callbacks. So if you're interested in getting notified when things happen, you need to add listeners to the object.