InstancedBufferGeometry.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>InstancedBufferGeometry - 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. <h1 translate="no">InstancedBufferGeometry</h1>
  13. <section>
  14. <header>
  15. <div class="class-description"><p>An instanced version of a geometry.</p></div>
  16. </header>
  17. <article>
  18. <div class="container-overview">
  19. <h2>Constructor</h2>
  20. <h3 class="name name-method" id="InstancedBufferGeometry" translate="no">new <a href="#InstancedBufferGeometry">InstancedBufferGeometry</a><span class="signature">()</span> </h3>
  21. <div class="method">
  22. <div class="description">
  23. <p>Constructs a new instanced buffer geometry.</p>
  24. </div>
  25. </div>
  26. </div>
  27. <h2 class="subsection-title">Properties</h2>
  28. <div class="member">
  29. <h3 class="name" id="instanceCount" translate="no">.<a href="#instanceCount">instanceCount</a><span class="type-signature"> : number</span> </h3>
  30. <div class="description">
  31. <p>The instance count.</p>
  32. <p>Default is <code>Infinity</code>.</p>
  33. </div>
  34. </div>
  35. <div class="member">
  36. <h3 class="name" id="isInstancedBufferGeometry" translate="no">.<a href="#isInstancedBufferGeometry">isInstancedBufferGeometry</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  37. <div class="description">
  38. <p>This flag can be used for type testing.</p>
  39. <p>Default is <code>true</code>.</p>
  40. </div>
  41. </div>
  42. <h2 class="subsection-title">Source</h2>
  43. <p>
  44. <a href="https://github.com/mrdoob/three.js/blob/master/src/core/InstancedBufferGeometry.js" translate="no" target="_blank" rel="noopener">src/core/InstancedBufferGeometry.js</a>
  45. </p>
  46. </article>
  47. </section>
  48. <script src="../scripts/linenumber.js"></script>
  49. <script src="../scripts/page.js"></script>
  50. </body>
  51. </html>
粤ICP备19079148号