12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!DOCTYPE html>
- <html lang="it">
- <head>
- <meta charset="utf-8" />
- <base href="../../../../" />
- <script src="page.js"></script>
- <link type="text/css" rel="stylesheet" href="page.css" />
- </head>
- <body>
- [page:Interpolant] →
- <h1>[name]</h1>
- <p class="desc">
- </p>
- <h2>Codice di Esempio</h2>
- <code>
- const interpolant = new THREE.[name](
- new Float32Array( 2 ),
- new Float32Array( 2 ),
- 1,
- new Float32Array( 1 )
- );
- interpolant.evaluate( 0.5 );
- </code>
- <h2>Costruttore</h2>
- <h3>[name]( parameterPositions, sampleValues, sampleSize, resultBuffer )</h3>
- <p>
- parameterPositions -- array di posizioni<br />
- sampleValues -- array di campioni<br />
- sampleSize -- numero di campioni<br />
- resultBuffer -- buffer per memorizzare i risultati dell'interpolazione.<br /><br />
- </p>
- <h2>Proprietà</h2>
- <h3>[property:null parameterPositions]</h3>
- <p>
- </p>
- <h3>[property:null resultBuffer]</h3>
- <p>
- </p>
- <h3>[property:null sampleValues]</h3>
- <p>
- </p>
- <h3>[property:Object settings]</h3>
- <p>
- </p>
- <h3>[property:null valueSize]</h3>
- <p>
- </p>
- <h2>Metodi</h2>
- <h3>[method:Array evaluate]( [param:Number t] )</h3>
- <p>
- Valuta l'interpolante alla posizione *t*.
- </p>
- <h2>Source</h2>
- <p>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </p>
- </body>
- </html>
|