[page:Loader] →
[name]
A loader for loading objects in JSON format.
Constructor
[name]([page:Boolean showStatus])
showStatus -- todo
todo
Properties
[property:boolean withCredentials]
todo
Methods
[method:todo load]( [page:String url], [page:Function callback], [page:String texturePath] )
url — required
callback — required. This function will be called with the loaded model as an instance of [page:Geometry geometry] when the load is completed.
texturePath — optional. If not specified, textures will be assumed to be in the same folder as the Javascript model file.
[method:todo parse]([page:todo json], [page:todo texturePath])
json -- todo
texturePath -- todo
todo
[method:todo loadAjaxJSON]([page:todo context], [page:todo url], [page:todo callback], [page:todo texturePath], [page:todo callbackProgress])
context -- todo
url -- todo
callback -- todo
texturePath -- todo
callbackProgress -- todo
todo
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]