|
@@ -0,0 +1,62 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="ar">
|
|
|
+ <head>
|
|
|
+ <meta charset="utf-8" />
|
|
|
+ <base href="../../../../" />
|
|
|
+ <script src="page.js"></script>
|
|
|
+ <link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
+ </head>
|
|
|
+ <body class="rtl">
|
|
|
+ [page:Interpolant] →
|
|
|
+
|
|
|
+ <h1>[name]</h1>
|
|
|
+
|
|
|
+ <p class="desc"></p>
|
|
|
+
|
|
|
+ <h2>مثال الكود</h2>
|
|
|
+ <code>
|
|
|
+ const interpolant = new THREE.[name](
|
|
|
+ new Float32Array(2),
|
|
|
+ new Float32Array(2),
|
|
|
+ 1,
|
|
|
+ new Float32Array(1)
|
|
|
+ );
|
|
|
+
|
|
|
+ interpolant.evaluate(0.5);
|
|
|
+ </code>
|
|
|
+
|
|
|
+ <h2>المنشئ (Constructor)</h2>
|
|
|
+ <h3>
|
|
|
+ [name](parameterPositions, sampleValues, sampleSize, resultBuffer)
|
|
|
+ </h3>
|
|
|
+ <p>
|
|
|
+ parameterPositions - مصفوفة المواضع<br />
|
|
|
+ sampleValues - مصفوفة العينات<br />
|
|
|
+ sampleSize - عدد العينات<br />
|
|
|
+ resultBuffer - مخزن لتخزين نتائج التداخل.<br /><br />
|
|
|
+ </p>
|
|
|
+
|
|
|
+ <h2>الخصائص (Properties)</h2>
|
|
|
+
|
|
|
+ <h3>[property:null parameterPositions]</h3>
|
|
|
+
|
|
|
+ <h3>[property:null resultBuffer]</h3>
|
|
|
+
|
|
|
+ <h3>[property:null sampleValues]</h3>
|
|
|
+
|
|
|
+ <h3>[property:Object settings]</h3>
|
|
|
+
|
|
|
+ <h3>[property:null valueSize]</h3>
|
|
|
+
|
|
|
+ <h2>الطرق (Methods)</h2>
|
|
|
+
|
|
|
+ <h3>[method:Array evaluate]([param:Number t])</h3>
|
|
|
+ <p>تقييم المُداخِل في الموضع *t*.</p>
|
|
|
+
|
|
|
+ <h2>المصدر (Source)</h2>
|
|
|
+
|
|
|
+ <p>
|
|
|
+ [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
+ </p>
|
|
|
+ </body>
|
|
|
+</html>
|