[page:Loader] →

[name]

A loader for loading objects in JSON format.

Constructor

[name]([page:Boolean showStatus])

showStatus -- todo
todo

Properties

.[page:boolean withCredentials]

todo

Methods

.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.

.parse([page:todo json], [page:todo texturePath]) [page:todo]

json -- todo
texturePath -- todo
todo

.loadAjaxJSON([page:todo context], [page:todo url], [page:todo callback], [page:todo texturePath], [page:todo callbackProgress]) [page:todo]

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]