LoaderUtils.html 887 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <p class="desc">An object with several loader utility functions.</p>
  12. <h2>Functions</h2>
  13. <h3>[method:String decodeText]( [param:TypedArray array] )</h3>
  14. <p>
  15. [page:TypedArray array] — A stream of bytes as a typed array.
  16. </p>
  17. <p>
  18. The function takes a stream of bytes as input and returns a string representation.
  19. </p>
  20. <h3>[method:String extractUrlBase]( [param:String url] )</h3>
  21. <p>
  22. [page:String url] — The url to extract the base url from.
  23. </p>
  24. <p>
  25. Extract the base from the URL.
  26. </p>
  27. <h2>Source</h2>
  28. <p>
  29. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  30. </p>
  31. </body>
  32. </html>