InterleavedBufferAttribute.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. <h1>[name]</h1>
  12. <div class="desc">
  13. </div>
  14. <h2>Constructor</h2>
  15. <h3>[name]( [page:InterleavedBuffer interleavedBuffer], [page:Integer itemSize], [page:Integer offset], [page:Boolean normalized] )</h3>
  16. <div>
  17. </div>
  18. <h2>Properties</h2>
  19. <h3>[property:InterleavedBuffer data]</h3>
  20. <div>
  21. The [page:InterleavedBuffer InterleavedBuffer] instance passed in the constructor.
  22. </div>
  23. <h3>[property:TypedArray array]</h3>
  24. <div>
  25. The value of [page:InterleavedBufferAttribute.data data].array.
  26. </div>
  27. <h3>[property:Integer count]</h3>
  28. <div>
  29. The value of [page:InterleavedBufferAttribute.data data].count.
  30. If the buffer is storing a 3-component vector (such as a position, normal, or color),
  31. then this will count the number of such vectors stored.
  32. </div>
  33. <h3>[property:Integer itemSize]</h3>
  34. <div>
  35. </div>
  36. <h3>[property:Integer offset]</h3>
  37. <div>
  38. </div>
  39. <h3>[property:Boolean normalized]</h3>
  40. <div>
  41. Default is *true*.
  42. </div>
  43. <h3>[property:Boolean isInterleavedBufferAttribute]</h3>
  44. <div>
  45. Default is *true*.
  46. </div>
  47. <h2>Methods</h2>
  48. <h3>[method:null getX]( index ) </h3>
  49. <div>
  50. </div>
  51. <h3>[method:null getY]( index ) </h3>
  52. <div>
  53. </div>
  54. <h3>[method:null getZ]( index ) </h3>
  55. <div>
  56. </div>
  57. <h3>[method:null getW]( index ) </h3>
  58. <div>
  59. </div>
  60. <h3>[method:null setX]( index, x ) </h3>
  61. <div>
  62. </div>
  63. <h3>[method:null setY]( index, y ) </h3>
  64. <div>
  65. </div>
  66. <h3>[method:null setZ]( index, z ) </h3>
  67. <div>
  68. </div>
  69. <h3>[method:null setXY]( index, x, y ) </h3>
  70. <div>
  71. </div>
  72. <h3>[method:null setXYZ]( index, x, y, z ) </h3>
  73. <div>
  74. </div>
  75. <h3>[method:null setXYZW]( index, x, y, z, w ) </h3>
  76. <div>
  77. </div>
  78. <h2>Source</h2>
  79. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  80. </body>
  81. </html>