[name]

A loader for loading a complete scene out of a JSON file.

Constructor

[name]()

todo

Properties

.[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 each element in the scene completes loading.
The default is a function with empty body.

.[page:Function callbackSync]

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

.[page:Function callbackProgress]

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

.[page:object hierarchyHandlerMap]

todo

.[page:object geometryHandlerMap]

todo

Methods

.load( [page:String url], [page:Function callbackFinished] )

url — required
callbackFinished — required. This function will be called with the loaded model as an instance of [page:Scene scene] when the load is completed.

.addHierarchyHandler([page:todo typeID], [page:todo loaderClass]) [page:todo]

typeID -- todo
loaderClass -- todo
todo

.parse([page:todo json], [page:todo callbackFinished], [page:todo url]) [page:todo]

json -- todo
callbackFinished -- todo
url -- todo
todo

.addGeometryHandler([page:todo typeID], [page:todo loaderClass]) [page:todo]

typeID -- todo
loaderClass -- todo
todo

Source

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