[name]

Base class for implementing loaders.

Constructor

[name]([page:Boolean showStatus])

showStatus -- todo
todo

Properties

.[page:Boolean showStatus]

If true, show loading status in the statusDomElement.

.[page:DOMElement statusDomElement]

This is the recipient of status messages.

.[page:Function onLoadStart]

Will be called when load starts.
The default is a function with empty body.

.[page:Function onLoadProgress]

Will be called while load progresses.
The default is a function with empty body.

.[page:Function onLoadComplete]

Will be called when load completes.
The default is a function with empty body.

.[page:string crossOrigin]

todo

Methods

.needsTangents([page:todo materials]) [page:todo]

materials -- todo
todo

.updateProgress([page:todo progress]) [page:todo]

progress -- todo
todo

.createMaterial([page:todo m], [page:todo texturePath]) [page:todo]

m -- todo
texturePath -- todo
todo

.initMaterials([page:todo materials], [page:todo texturePath]) [page:todo]

materials -- todo
texturePath -- todo
todo

.extractUrlBase([page:todo url]) [page:todo]

url -- todo
todo

.addStatusElement() [page:todo]

todo

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]