[page:function onLoad] — Will be called when load completes. The argument will be the loaded [page:Object3D].<br/>
[page:function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.babylon</em> file.<br/>
[page:function onLoad] — (optional) A function to be called after loading is successfully completed. The function receives the loaded [page:Object3D] as an argument.<br/>
[page:function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br/>
[page:function onError] — (optional) A function to be called if an error occurs during loading. The function receives the error as an argument.<br/>
</div>
<div>
Begin loading from url and call onLoad with the parsed response content.
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded JSON response returned from [page:Function parse].<br/>
[page:Function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, that contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.gltf</em> or <em>.glb</em> file.<br/>
[page:Function onLoad] — (optional) A function to be called after the loading is successfully completed. The function receives the loaded JSON response returned from [page:Function parse].<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, that contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives error as an argument.<br/>
</div>
<div>
Begin loading from url and call the callback function with the parsed response content.
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator] instance.<br/>
[page:Function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.mtl</em> file.<br/>
[page:Function onLoad] — (optional) A function to be called after the loading is successfully completed. The function receives the loaded [page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator] instance.<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives the error as an argument.<br/>
</div>
<div>
Begin loading from url and return the loaded material.
[page:String url] — A string representing the path to the obj file. Required.<br/>
[page:Function onLoad] — A function to be called when the load completes. The function receives loaded [page:Object3D] as an argument.<br/>
[page:Function onProgress] — A function to be called while the loading is in progress. The function receives a XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — A function to be called if the request fails. The function receives the error.<br/>
[page:String url] — A string containing the path/URL of the <em>.obj</em> file.<br/>
[page:Function onLoad] — (optional) A function to be called after the loading is successfully completed. The function receives the loaded [page:Object3D] as an argument.<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The function receives a XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives error as an argument.<br/>
</div>
<div>
Begin loading from url and call onLoad with the parsed response content.
[page:Function onLoad] - Called after loading was successfully completed<br>
[page:Function onProgress] - Called to report progress of loading. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br>
[page:Function onError] - Called after an error occurred during loading.<br>
[page:Function onMeshAlter] - Called after a new mesh raw data becomes available to allow alteration<br>
[page:boolean useAsync] - If true uses async loading with worker, if false loads data synchronously
[page:String url] - A string containing the path/URL of the <em>.obj</em> file.<br>
[page:Function onLoad] - (optional) A function to be called after loading is successfully completed. The function receives loaded [page:Object3D] as an argument.<br>
[page:Function onProgress] - (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br>
[page:Function onError] - (optional) A function to be called if an error occurrs during loading. The function receives the error as an argument.<br>
[page:Function onMeshAlter] - (optional) A function to be called after a new mesh raw data becomes available for alteration.<br>
[page:boolean useAsync] - (optional) If true, uses async loading with worker, if false loads data synchronously.
</div>
<div>
Use this convenient method to load an OBJ file at the given URL. Per default the fileLoader uses an arraybuffer.
Use this convenient method to load an OBJ file at the given URL. By default the fileLoader uses an arraybuffer.
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Object3D].<br/>
[page:Function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.pcd</em> file.<br/>
[page:Function onLoad] — (optional) A function to be called after loading is successfully completed. The function receives loaded [page:Object3D] as an argument.<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives the error as an argument.<br/>
</div>
<div>
Begin loading from url and call onLoad with the parsed response content.
The <ahref="http://en.wikipedia.org/wiki/Protein_Data_Bank_(file_format)">Protein Data Bank file format</a> is a textual file format describing the three-dimensional structures of molecules.
<divclass="desc">A loader for loading a <em>.pdb</em> resource.<br>
The <ahref="http://en.wikipedia.org/wiki/Protein_Data_Bank_(file_format)">Protein Data Bank</a> file format is a textual file describing the three-dimensional structures of molecules.
[page:String url] — required. URL to the <em>.pdb</em> file<br/>
[page:Function onLoad] — Will be called when load completes. The arguments will be an [page:BufferGeometry geometryAtoms], [page:BufferGeometry geometryBonds] and the [page:Object JSON] structure.<br/>
[page:Function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.pdb</em> file.<br/>
[page:Function onLoad] — (optional) A function to be called after loading is successfully completed. The function receives the object having the following properties. [page:BufferGeometry geometryAtoms], [page:BufferGeometry geometryBonds] and the [page:Object JSON] structure.<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives the error as an argument.<br/>
</div>
<div>
Begin loading from url and call onLoad with the parsed response content.
<divclass="desc">A loader for loading an <em>.svg</em> resource.</div>
<divclass="desc">A loader for loading a <em>.svg</em> resource.<br>
<ahref="https://en.wikipedia.org/wiki/Scalable_Vector_Graphics">Scalabe Vector Graphics</a> is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation.
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:SVGDocument].<br/>
[page:Function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.svg</em> file.<br/>
[page:Function onLoad] — (optional) A function to be called after loading is successfully completed. The function receives the loaded [page:SVGDocument] as an argument.<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains [page:Integer total] and [page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives the error as an argument.<br/>
</div>
<div>
Begin loading from url and call onLoad with the response content.
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:DataTexture].<br/>
[page:Function onProgress] — Will be called while load progresses. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — Will be called when load errors.<br/>
[page:String url] — A string containing the path/URL of the <em>.tga</em> file. <br/>
[page:Function onLoad] — (optional) A function to be called after loading is successfully completed. The function receives loaded [page:DataTexture] as an argument.<br/>
[page:Function onProgress] — (optional) A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains .[page:Integer total] and .[page:Integer loaded] bytes.<br/>
[page:Function onError] — (optional) A function to be called if an error occurs during loading. The function receives the error as an argument.<br/>
</div>
<div>
Begin loading from url and pass the loaded [page:DataTexture texture] to onLoad. The [page:DataTexture texture] is also directly returned for immediate use (but may not be fully loaded).