| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>InstancedMeshNode - Three.js Docs</title>
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
- <script src="../scripts/highlight.min.js"></script>
- <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
- <link type="text/css" rel="stylesheet" href="../styles/page.css">
- </head>
- <body>
- <p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="Node.html">Node</a> → <a href="InstanceNode.html">InstanceNode</a> → </p>
- <h1 translate="no">InstancedMeshNode</h1>
- <section>
- <header>
- <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>.
- It allows an easier setup of the instance node.</p></div>
- </header>
- <article>
- <div class="container-overview">
- <h2>Constructor</h2>
- <h3 class="name name-method" id="InstancedMeshNode" translate="no">new <a href="#InstancedMeshNode">InstancedMeshNode</a><span class="signature">( instancedMesh : <span class="param-type">InstancedMesh</span> )</span> </h3>
- <div class="method">
- <div class="description">
- <p>Constructs a new instanced mesh node.</p>
- </div>
- <table class="params">
- <tbody>
- <tr>
- <td class="name"><code>instancedMesh</code></td>
- <td class="description last"><p>The instanced mesh.</p></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <h2 class="subsection-title">Properties</h2>
- <div class="member">
- <h3 class="name" id="instancedMesh" translate="no">.<a href="#instancedMesh">instancedMesh</a><span class="type-signature"> : <a href="InstancedMesh.html">InstancedMesh</a></span> </h3>
- <div class="description">
- <p>A reference to the instanced mesh.</p>
- </div>
- </div>
- <h2 class="subsection-title">Source</h2>
- <p>
- <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/accessors/InstancedMeshNode.js" target="_blank" rel="noopener" translate="no">src/nodes/accessors/InstancedMeshNode.js</a>
- </p>
- </article>
- </section>
- <script src="../scripts/linenumber.js"></script>
- <script src="../scripts/page.js"></script>
- </body>
- </html>
|