InstancedMeshNode.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>InstancedMeshNode - 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="Node.html">Node</a> → <a href="InstanceNode.html">InstanceNode</a> → </p>
  13. <h1 translate="no">InstancedMeshNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This is a special version of <code>InstanceNode</code> which requires the usage of <a href="InstancedMesh.html">InstancedMesh</a>.
  17. It allows an easier setup of the instance node.</p></div>
  18. </header>
  19. <article>
  20. <div class="container-overview">
  21. <h2>Constructor</h2>
  22. <h3 class="name name-method" id="InstancedMeshNode" translate="no">new <a href="#InstancedMeshNode">InstancedMeshNode</a><span class="signature">( instancedMesh : <span class="param-type"><a href="InstancedMesh.html">InstancedMesh</a></span> )</span> </h3>
  23. <div class="method">
  24. <div class="description">
  25. <p>Constructs a new instanced mesh node.</p>
  26. </div>
  27. <table class="params">
  28. <tbody>
  29. <tr>
  30. <td class="name">
  31. <strong>instancedMesh</strong>
  32. </td>
  33. <td class="description last">
  34. <p>The instanced mesh.</p>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. <h2 class="subsection-title">Properties</h2>
  42. <div class="member">
  43. <h3 class="name" id="instancedMesh" translate="no">.<a href="#instancedMesh">instancedMesh</a><span class="type-signature"> : <a href="InstancedMesh.html">InstancedMesh</a></span> </h3>
  44. <div class="description">
  45. <p>A reference to the instanced mesh.</p>
  46. </div>
  47. </div>
  48. <h2 class="subsection-title">Source</h2>
  49. <p>
  50. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/accessors/InstancedMeshNode.js" translate="no" target="_blank" rel="noopener">src/nodes/accessors/InstancedMeshNode.js</a>
  51. </p>
  52. </article>
  53. </section>
  54. <script src="../scripts/linenumber.js"></script>
  55. <script src="../scripts/page.js"></script>
  56. </body>
  57. </html>
粤ICP备19079148号