2
0

AnimationUtils.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="it">
  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>
  10. <h1>[name]</h1>
  11. <p class="desc">
  12. Un oggetto con varie funzioni di assistenza alle animazioni, usato internamente.
  13. </p>
  14. <h2>Metodi</h2>
  15. <h3>[method:Array convertArray]( array, type, forceClone )</h3>
  16. <p>
  17. Converte un array in un tipo specifico.
  18. </p>
  19. <h3>[method:Array flattenJSON]( jsonKeys, times, values, valuePropertyName )</h3>
  20. <p>
  21. Utilizzato per parsare i formati keyframe AOS.
  22. </p>
  23. <h3>[method:Array getKeyframeOrder]( times )</h3>
  24. <p>
  25. Restituisce un array in base al quale è possibile ordinare tempi e valori.
  26. </p>
  27. <h3>[method:Boolean isTypedArray]( object )</h3>
  28. <p>
  29. Restituisce `true` se l'oggetto è un array tipizzato.
  30. </p>
  31. <h3>[method:AnimationClip makeClipAdditive]( [param:AnimationClip targetClip], [param:Number referenceFrame], [param:AnimationClip referenceClip], [param:Number fps] )</h3>
  32. <p>
  33. Converte il keyframe di una data clip di animazione in un formato additivo.
  34. </p>
  35. <h3>[method:Array sortedArray]( values, stride, order )</h3>
  36. <p>
  37. Ordina l'array precedentemente restituito da [page:AnimationUtils.getKeyframeOrder getKeyframeOrder].
  38. </p>
  39. <h3>[method:AnimationClip subclip]( [param:AnimationClip clip], [param:String name], [param:Number startFrame], [param:Number endFrame], [param:Number fps] )</h3>
  40. <p>
  41. Create una nuova clip, contenente solo il segmento della clip originale tra i frame indicati.
  42. </p>
  43. <h2>Source</h2>
  44. <p>
  45. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  46. </p>
  47. </body>
  48. </html>