|
@@ -41,10 +41,16 @@
|
|
|
|
|
|
<h3>[name]( [page:LoadingManager manager] )</h3>
|
|
<h3>[name]( [page:LoadingManager manager] )</h3>
|
|
<div>
|
|
<div>
|
|
- [page:LoadingManager manager] — The [page:LoadingManager loadingManager] for the loader to use. Default is [page:LoadingManager THREE.DefaultLoadingManager].
|
|
|
|
|
|
+ [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>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <h2>Properties</h2>
|
|
|
|
+
|
|
|
|
+ <h3>[property:LoadingManager manager]</h3>
|
|
<div>
|
|
<div>
|
|
- Creates a new [name].
|
|
|
|
|
|
+ The [page:LoadingManager loadingManager] the loader is using. Default is [page:DefaultLoadingManager].
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|
|
@@ -52,12 +58,20 @@
|
|
<h3>[method:null load]( [page:String url], [page:Function onLoad], [page:Function onProgress], [page:Function onError] )</h3>
|
|
<h3>[method:null load]( [page:String url], [page:Function onLoad], [page:Function onProgress], [page:Function onError] )</h3>
|
|
<div>
|
|
<div>
|
|
[page:String url] — required<br />
|
|
[page:String url] — required<br />
|
|
- [page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Texture texture].<br />
|
|
|
|
|
|
+ [page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Animation animation].<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 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 />
|
|
|
|
|
|
+ [page:Function onError] — Will be called if load errors.<br /><br />
|
|
|
|
+
|
|
|
|
+ Begin loading from url and pass the loaded animation to onLoad.
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <h3>[method:null parse]( [page:JSON json], [page:Function onLoad] )</h3>
|
|
<div>
|
|
<div>
|
|
- Begin loading from url and pass the loaded animation to onLoad.
|
|
|
|
|
|
+ [page:JSON json] — required<br />
|
|
|
|
+ [page:Function onLoad] — Will be called when pasring completes. <br /><br />
|
|
|
|
+
|
|
|
|
+ Parse the JSON object and pass the result to onLoad. Individual clips in the object will
|
|
|
|
+ be parsed with [page:AnimationClip.parse].
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Source</h2>
|
|
<h2>Source</h2>
|