1
0

RollerCoasterShadowGeometry.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>RollerCoasterShadowGeometry - 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">RollerCoasterShadowGeometry</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>A procedural roller coaster shadow geometry.</p></div>
  17. </header>
  18. <article>
  19. <h2 class="subsection-title">Import</h2>
  20. <p><span translate="no">RollerCoasterShadowGeometry</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 { RollerCoasterShadowGeometry } from 'three/addons/misc/RollerCoaster.js';</code></pre>
  22. <div class="container-overview">
  23. <h2>Constructor</h2>
  24. <h3 class="name name-method" id="RollerCoasterShadowGeometry" translate="no">new <a href="#RollerCoasterShadowGeometry">RollerCoasterShadowGeometry</a><span class="signature">( curve : <span class="param-type"><a href="Curve.html">Curve</a></span>, divisions : <span class="param-type">number</span> )</span> </h3>
  25. <div class="method">
  26. <div class="description">
  27. <p>Constructs a new geometry.</p>
  28. </div>
  29. <table class="params">
  30. <tbody>
  31. <tr>
  32. <td class="name">
  33. <strong>curve</strong>
  34. </td>
  35. <td class="description last">
  36. <p>The curve to generate the geometry along.</p>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td class="name">
  41. <strong>divisions</strong>
  42. </td>
  43. <td class="description last">
  44. <p>The number of divisions which defines the detail of the geometry.</p>
  45. </td>
  46. </tr>
  47. </tbody>
  48. </table>
  49. </div>
  50. </div>
  51. <h2 class="subsection-title">Source</h2>
  52. <p>
  53. <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>
  54. </p>
  55. </article>
  56. </section>
  57. <script src="../scripts/linenumber.js"></script>
  58. <script src="../scripts/page.js"></script>
  59. </body>
  60. </html>
粤ICP备19079148号