|
@@ -10,13 +10,13 @@
|
|
<body>
|
|
<body>
|
|
[page:Interpolant] →
|
|
[page:Interpolant] →
|
|
|
|
|
|
- <h1>[name]</h1>
|
|
|
|
|
|
+ <h1>三次插值([name])</h1>
|
|
|
|
|
|
<p class="desc">
|
|
<p class="desc">
|
|
|
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h2>Example</h2>
|
|
|
|
|
|
+ <h2>例子(Example)</h2>
|
|
|
|
|
|
<code>
|
|
<code>
|
|
var interpolant = new THREE.[name](
|
|
var interpolant = new THREE.[name](
|
|
@@ -30,19 +30,19 @@ interpolant.evaluate( 0.5 );
|
|
</code>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
- <h2>Constructor</h2>
|
|
|
|
|
|
+ <h2>构造函数(Constructor)</h2>
|
|
|
|
|
|
<h3>[name]( parameterPositions, sampleValues, sampleSize, resultBuffer )</h3>
|
|
<h3>[name]( parameterPositions, sampleValues, sampleSize, resultBuffer )</h3>
|
|
<p>
|
|
<p>
|
|
- parameterPositions -- array of positions<br />
|
|
|
|
- sampleValues -- array of samples<br />
|
|
|
|
- sampleSize -- number of samples<br />
|
|
|
|
- resultBuffer -- buffer to store the interpolation results.<br /><br />
|
|
|
|
|
|
+ parameterPositions -- 位置数组<br />
|
|
|
|
+ sampleValues -- 样本数组<br />
|
|
|
|
+ sampleSize -- 样本数<br />
|
|
|
|
+ resultBuffer -- 用于存储插值结果的缓冲区。<br /><br />
|
|
|
|
|
|
|
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h2>Properties</h2>
|
|
|
|
|
|
+ <h2>属性(Properties)</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -71,14 +71,14 @@ interpolant.evaluate( 0.5 );
|
|
|
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h2>Methods</h2>
|
|
|
|
|
|
+ <h2>方法(Methods)</h2>
|
|
|
|
|
|
<h3>[method:null evaluate]( [param:Number t] )</h3>
|
|
<h3>[method:null evaluate]( [param:Number t] )</h3>
|
|
<p>
|
|
<p>
|
|
- Evaluate the interpolant at position *t*.
|
|
|
|
|
|
+ 评估位置*t*处的插值。
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h2>Source</h2>
|
|
|
|
|
|
+ <h2>源码(Source)</h2>
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
</body>
|
|
</body>
|