Int8BufferAttribute.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Int8BufferAttribute - 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="BufferAttribute.html">BufferAttribute</a> → </p>
  13. <h1 translate="no">Int8BufferAttribute</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>Convenient class that can be used when creating a <code>Int8</code> buffer attribute with
  17. a plain <code>Array</code> instance.</p></div>
  18. </header>
  19. <article>
  20. <div class="container-overview">
  21. <h2>Constructor</h2>
  22. <h3 class="name name-method" id="Int8BufferAttribute" translate="no">new <a href="#Int8BufferAttribute">Int8BufferAttribute</a><span class="signature">( array : <span class="param-type">Array.&lt;number> | Int8Array</span>, itemSize : <span class="param-type">number</span>, normalized : <span class="param-type">boolean</span> )</span> </h3>
  23. <div class="method">
  24. <div class="description">
  25. <p>Constructs a new buffer attribute.</p>
  26. </div>
  27. <table class="params">
  28. <tbody>
  29. <tr>
  30. <td class="name"><code>array</code></td>
  31. <td class="description last"><p>The array holding the attribute data.</p></td>
  32. </tr>
  33. <tr>
  34. <td class="name"><code>itemSize</code></td>
  35. <td class="description last"><p>The item size.</p></td>
  36. </tr>
  37. <tr>
  38. <td class="name"><code>normalized</code></td>
  39. <td class="description last"><p>Whether the data are normalized or not.<br/>Default is <code>false</code>.</p></td>
  40. </tr>
  41. </tbody>
  42. </table>
  43. </div>
  44. </div>
  45. <h2 class="subsection-title">Source</h2>
  46. <p>
  47. <a href="https://github.com/mrdoob/three.js/blob/master/src/core/BufferAttribute.js" target="_blank" rel="noopener" translate="no">src/core/BufferAttribute.js</a>
  48. </p>
  49. </article>
  50. </section>
  51. <script src="../scripts/linenumber.js"></script>
  52. <script src="../scripts/page.js"></script>
  53. </body>
  54. </html>
粤ICP备19079148号