[page:Interpolant] →

[name]

مثال الكود

const interpolant = new THREE.[name]( new Float32Array(2), new Float32Array(2), 1, new Float32Array(1) ); interpolant.evaluate(0.5);

المنشئ (Constructor)

[name](parameterPositions, sampleValues, sampleSize, resultBuffer)

parameterPositions - مصفوفة المواضع
sampleValues - مصفوفة العينات
sampleSize - عدد العينات
resultBuffer - مخزن لتخزين نتائج التداخل.

الخصائص (Properties)

[property:null parameterPositions]

[property:null resultBuffer]

[property:null sampleValues]

[property:Object settings]

[property:null valueSize]

الطرق (Methods)

[method:Array evaluate]([param:Number t])

تقييم المُداخِل في الموضع *t*.

المصدر (Source)

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]