LinearInterpolant.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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"><code>parameterPositions</code></td>
  30. <td class="description last"><p>The parameter positions hold the interpolation factors.</p></td>
  31. </tr>
  32. <tr>
  33. <td class="name"><code>sampleValues</code></td>
  34. <td class="description last"><p>The sample values.</p></td>
  35. </tr>
  36. <tr>
  37. <td class="name"><code>sampleSize</code></td>
  38. <td class="description last"><p>The sample size</p></td>
  39. </tr>
  40. <tr>
  41. <td class="name"><code>resultBuffer</code></td>
  42. <td class="description last"><p>The result buffer.</p></td>
  43. </tr>
  44. </tbody>
  45. </table>
  46. </div>
  47. </div>
  48. <h2 class="subsection-title">Source</h2>
  49. <p>
  50. <a href="https://github.com/mrdoob/three.js/blob/master/src/math/interpolants/LinearInterpolant.js" target="_blank" rel="noopener" translate="no">src/math/interpolants/LinearInterpolant.js</a>
  51. </p>
  52. </article>
  53. </section>
  54. <script src="../scripts/linenumber.js"></script>
  55. <script src="../scripts/page.js"></script>
  56. </body>
  57. </html>
粤ICP备19079148号