|
@@ -66,9 +66,8 @@ scene.add( object );
|
|
|
|
|
|
<h3>[name]( [page:LoadingManager manager] )</h3>
|
|
|
<div>
|
|
|
- [page:LoadingManager manager] — The [page:LoadingManager loadingManager] for the loader to use. Default is [page:LoadingManager THREE.DefaultLoadingManager].
|
|
|
- </div>
|
|
|
- <div>
|
|
|
+ [page:LoadingManager manager] — The [page:LoadingManager loadingManager] for the loader to use. Default is [page:LoadingManager THREE.DefaultLoadingManager].<br /><br />
|
|
|
+
|
|
|
Creates a new [name].
|
|
|
</div>
|
|
|
|
|
@@ -97,7 +96,8 @@ scene.add( object );
|
|
|
|
|
|
<h3>[method:null load]( [page:String url], [page:Function onLoad], [page:Function onProgress], [page:Function onError] )</h3>
|
|
|
<div>
|
|
|
- [page:String url] — required<br />
|
|
|
+ [page:String url] — the path or URL to the file. This can also be a
|
|
|
+ [link:https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs Data URI].<br />
|
|
|
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Object3D object].<br />
|
|
|
[page:Function onProgress] — Will be called while load progresses. The argument will be the XmlHttpRequest instance, that contain .[page:Integer total] and .[page:Integer loaded] bytes.<br />
|
|
|
[page:Function onError] — Will be called when load errors.<br />
|