InstancedBufferAttribute.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:BufferAttribute] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">An instanced version of [page:BufferAttribute].</p>
  13. <h2>Constructor</h2>
  14. <h3>[name]( [param:TypedArray array], [param:Integer itemSize], [param:Boolean normalized], [param:Number meshPerAttribute] )</h3>
  15. <h2>Properties</h2>
  16. <p>See [page:BufferAttribute] for inherited properties.</p>
  17. <h3>[property:Number meshPerAttribute]</h3>
  18. <p>
  19. Defines how often a value of this buffer attribute should be repeated. A
  20. value of one means that each value of the instanced attribute is used for
  21. a single instance. A value of two means that each value is used for two
  22. consecutive instances (and so on). Default is `1`.
  23. </p>
  24. <h2>Methods</h2>
  25. <p>See [page:BufferAttribute] for inherited methods.</p>
  26. <h2>Source</h2>
  27. <p>
  28. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  29. </p>
  30. </body>
  31. </html>