Int8BufferAttribute.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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">
  31. <strong>array</strong>
  32. </td>
  33. <td class="description last">
  34. <p>The array holding the attribute data.</p>
  35. </td>
  36. </tr>
  37. <tr>
  38. <td class="name">
  39. <strong>itemSize</strong>
  40. </td>
  41. <td class="description last">
  42. <p>The item size.</p>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td class="name">
  47. <strong>normalized</strong>
  48. </td>
  49. <td class="description last">
  50. <p>Whether the data are normalized or not.</p>
  51. <p>Default is <code>false</code>.</p>
  52. </td>
  53. </tr>
  54. </tbody>
  55. </table>
  56. </div>
  57. </div>
  58. <h2 class="subsection-title">Source</h2>
  59. <p>
  60. <a href="https://github.com/mrdoob/three.js/blob/master/src/core/BufferAttribute.js" translate="no" target="_blank" rel="noopener">src/core/BufferAttribute.js</a>
  61. </p>
  62. </article>
  63. </section>
  64. <script src="../scripts/linenumber.js"></script>
  65. <script src="../scripts/page.js"></script>
  66. </body>
  67. </html>
粤ICP备19079148号