CubicInterpolant.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="ar">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body class="rtl">
  10. [page:Interpolant] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc"></p>
  13. <h2>مثال الكود</h2>
  14. <code>
  15. const interpolant = new THREE.[name](
  16. new Float32Array(2),
  17. new Float32Array(2),
  18. 1,
  19. new Float32Array(1)
  20. );
  21. interpolant.evaluate(0.5);
  22. </code>
  23. <h2>المنشئ (Constructor)</h2>
  24. <h3>
  25. [name](parameterPositions, sampleValues, sampleSize, resultBuffer)
  26. </h3>
  27. <p>
  28. parameterPositions - مصفوفة المواضع<br />
  29. sampleValues - مصفوفة العينات<br />
  30. sampleSize - عدد العينات<br />
  31. resultBuffer - مخزن لتخزين نتائج التداخل.<br /><br />
  32. </p>
  33. <h2>الخصائص (Properties)</h2>
  34. <h3>[property:null parameterPositions]</h3>
  35. <h3>[property:null resultBuffer]</h3>
  36. <h3>[property:null sampleValues]</h3>
  37. <h3>[property:Object settings]</h3>
  38. <h3>[property:null valueSize]</h3>
  39. <h2>الطرق (Methods)</h2>
  40. <h3>[method:Array evaluate]([param:Number t])</h3>
  41. <p>تقييم المُداخِل في الموضع *t*.</p>
  42. <h2>المصدر (Source)</h2>
  43. <p>
  44. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  45. </p>
  46. </body>
  47. </html>