BooleanKeyframeTrack.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE html>
  2. <html lang="zh">
  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. [page:KeyframeTrack] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. 布尔类型的关键帧轨道。
  14. </p>
  15. <h2>构造函数</h2>
  16. <h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
  17. <p>
  18. [page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
  19. [page:Array times] - (必须) 关键帧的时间数组.<br />
  20. [page:Array values] - 与时间数组中的时间点对应的值数组.<br />
  21. </p>
  22. <p>
  23. 此关键帧轨道类型没有插值参数,因为插值始终是 [page:Animation InterpolateDiscrete]。
  24. </p>
  25. <h2>属性</h2>
  26. <p class="desc">
  27. 参见 [page:KeyframeTrack] 查看继承的属性.
  28. </p>
  29. <h3>[property:Constant DefaultInterpolation]</h3>
  30. <p>
  31. 默认的插值类型。只有 [page:Animation InterpolateDiscrete] 为有效值。
  32. </p>
  33. <h3>[property:Array ValueBufferType]</h3>
  34. <p>
  35. 一个基本数组 (不是 Float32Array 类型, 与 [page:KeyframeTrack] 内的 `ValueBufferType` 属性不一样).
  36. </p>
  37. <h3>[property:String ValueTypeName]</h3>
  38. <p>
  39. 字符串 'bool'。
  40. </p>
  41. <h2>方法</h2>
  42. <p class="desc">
  43. 参见 [page:KeyframeTrack] 查看继承的方法.
  44. </p>
  45. <h3>[method:undefined InterpolantFactoryMethodLinear ]()</h3>
  46. <p>
  47. 这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
  48. </p>
  49. <h3>[method:undefined InterpolantFactoryMethodSmooth ]()</h3>
  50. <p>
  51. 这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
  52. </p>
  53. <h2>源码</h2>
  54. <p>
  55. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  56. </p>
  57. </body>
  58. </html>
粤ICP备19079148号