<p>The base path from which files will be loaded. See [page:.setPath]. Default is *undefined*.</p>
<h3>[property:object requestHeader]</h3>
<h3>[property:Object requestHeader]</h3>
<p>The [link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] used in HTTP request. See [page:.setRequestHeader]. Default is *undefined*.</p>
[page:String text] or empty string (default) - returns the data as [page:String string].<br/>
[page:String text] or empty string (default) - returns the data as [page:String String].<br/>
[page:String arraybuffer] - loads the data into a [link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer ArrayBuffer] and returns that.<br/>
[page:String blob] - returns the data as a [link:https://developer.mozilla.org/en/docs/Web/API/Blob Blob].<br/>
[page:String document] - parses the file using the [link:https://developer.mozilla.org/en-US/docs/Web/API/DOMParser DOMParser].<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:Texture texture].<br/>
[page:Function onLoad] — Will be called when load completes. The argument will be the loaded [page:Font font].<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/><br/>