SkyGeometry.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>SkyGeometry - Three.js Docs</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  7. <script src="../scripts/highlight.min.js"></script>
  8. <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
  9. <link type="text/css" rel="stylesheet" href="../styles/page.css">
  10. </head>
  11. <body>
  12. <p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="BufferGeometry.html">BufferGeometry</a> → </p>
  13. <h1 translate="no">SkyGeometry</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>A procedural sky geometry.</p></div>
  17. </header>
  18. <article>
  19. <h2 class="subsection-title">Import</h2>
  20. <p><span translate="no">SkyGeometry</span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#en/installation" target="_blank" rel="noopener">Installation#Addons</a>.</p>
  21. <pre><code class="language-js">import { SkyGeometry } from 'three/addons/misc/RollerCoaster.js';</code></pre>
  22. <div class="container-overview">
  23. <h2>Constructor</h2>
  24. <h3 class="name name-method" id="SkyGeometry" translate="no">new <a href="#SkyGeometry">SkyGeometry</a><span class="signature">()</span> </h3>
  25. <div class="method">
  26. <div class="description">
  27. <p>Constructs a new geometry.</p>
  28. </div>
  29. </div>
  30. </div>
  31. <h2 class="subsection-title">Source</h2>
  32. <p>
  33. <a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/misc/RollerCoaster.js" translate="no" target="_blank" rel="noopener">examples/jsm/misc/RollerCoaster.js</a>
  34. </p>
  35. </article>
  36. </section>
  37. <script src="../scripts/linenumber.js"></script>
  38. <script src="../scripts/page.js"></script>
  39. </body>
  40. </html>
粤ICP备19079148号