LinearInterpolant.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>LinearInterpolant - 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="Interpolant.html">Interpolant</a> → </p>
  13. <h1 translate="no">LinearInterpolant</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>A basic linear interpolant.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="LinearInterpolant" translate="no">new <a href="#LinearInterpolant">LinearInterpolant</a><span class="signature">( parameterPositions : <span class="param-type">TypedArray</span>, sampleValues : <span class="param-type">TypedArray</span>, sampleSize : <span class="param-type">number</span>, resultBuffer : <span class="param-type">TypedArray</span> )</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new linear interpolant.</p>
  25. </div>
  26. <table class="params">
  27. <tbody>
  28. <tr>
  29. <td class="name">
  30. <strong>parameterPositions</strong>
  31. </td>
  32. <td class="description last">
  33. <p>The parameter positions hold the interpolation factors.</p>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td class="name">
  38. <strong>sampleValues</strong>
  39. </td>
  40. <td class="description last">
  41. <p>The sample values.</p>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td class="name">
  46. <strong>sampleSize</strong>
  47. </td>
  48. <td class="description last">
  49. <p>The sample size</p>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td class="name">
  54. <strong>resultBuffer</strong>
  55. </td>
  56. <td class="description last">
  57. <p>The result buffer.</p>
  58. </td>
  59. </tr>
  60. </tbody>
  61. </table>
  62. </div>
  63. </div>
  64. <h2 class="subsection-title">Source</h2>
  65. <p>
  66. <a href="https://github.com/mrdoob/three.js/blob/master/src/math/interpolants/LinearInterpolant.js" translate="no" target="_blank" rel="noopener">src/math/interpolants/LinearInterpolant.js</a>
  67. </p>
  68. </article>
  69. </section>
  70. <script src="../scripts/linenumber.js"></script>
  71. <script src="../scripts/page.js"></script>
  72. </body>
  73. </html>
粤ICP备19079148号