AnimationUtils.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. 一个提供各种动画辅助方法的对象,内部使用。
  14. </p>
  15. <h2>方法</h2>
  16. <h3>[method:Array arraySlice]( array, from, to )</h3>
  17. <p>
  18. 和Array.prototype.slice作用一样, 但也适用于类型化数组.
  19. </p>
  20. <h3>[method:Array convertArray]( array, type, forceClone )</h3>
  21. <p>
  22. 将数组转换为某种特定类型。
  23. </p>
  24. <h3>[method:Array flattenJSON]( jsonKeys, times, values, valuePropertyName )</h3>
  25. <p>
  26. 用于解析AOS关键帧格式。
  27. </p>
  28. <h3>[method:Array getKeyframeOrder]( times )</h3>
  29. <p>
  30. 返回一个数组,时间和值可以根据此数组排序。
  31. </p>
  32. <h3>[method:Boolean isTypedArray]( object )</h3>
  33. <p>
  34. 如果该对象是类型化数组,返回*true*
  35. </p>
  36. <h3>[method:Array sortedArray]( values, stride, order )</h3>
  37. <p>
  38. 将[page:AnimationUtils.getKeyframeOrder getKeyframeOrder]方法返回的数组排序。
  39. </p>
  40. <h2>源码</h2>
  41. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  42. </body>
  43. </html>