QuaternionKeyframeTrack.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="zh">
  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. [page:KeyframeTrack] &rarr;
  12. <h1>[name]</h1>
  13. <p class="desc">
  14. 四元数类型的关键帧轨道。
  15. </p>
  16. <h2>构造函数</h2>
  17. <h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
  18. <p>
  19. [page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
  20. [page:Array times] - (必须) 关键帧的时间数组.<br />
  21. [page:Array values] - 与时间数组中的时间点对应的值数组.<br />
  22. [page:Constant interpolation] - 使用的插值类型。 取值参考
  23. [page:Animation Animation Constants] 默认值为
  24. [page:Animation InterpolateLinear].
  25. </p>
  26. <h2>属性</h2>
  27. <p class="desc">
  28. 参见 [page:KeyframeTrack] 查看继承的属性.
  29. </p>
  30. <h3>[property:Constant DefaultInterpolation]</h3>
  31. <p>
  32. 默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
  33. </p>
  34. <h3>[property:String ValueTypeName]</h3>
  35. <p>
  36. String 'quaternion'.
  37. </p>
  38. <h2>方法</h2>
  39. <p class="desc">
  40. 参见 [page:KeyframeTrack] 查看继承的方法.
  41. </p>
  42. <h3>[method:null InterpolantFactoryMethodLinear]()</h3>
  43. <p>
  44. 根据值数组 ([page:KeyframeTrack.values values]),
  45. 时间 ([page:KeyframeTrack.times times])
  46. 和值大小 [page:KeyframeTrack.valueSize valueSize]
  47. 创建一个新的线性插值 ([page:QuaternionLinearInterpolant QuaternionLinearInterpolant])。
  48. </p>
  49. <h2>源码</h2>
  50. <p>
  51. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  52. </p>
  53. </body>
  54. </html>