[name]

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

Constructor

[name]()

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.

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.

Source

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