BooleanKeyframeTrack.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. <h2>属性</h2>
  23. <p class="desc">
  24. 参见 [page:KeyframeTrack] 查看继承的属性.
  25. </p>
  26. <h3>[property:Constant DefaultInterpolation]</h3>
  27. <p>
  28. 默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
  29. </p>
  30. <h3>[property:Array ValueBufferType]</h3>
  31. <p>
  32. 一个基本数组 (不是 Float32Array 类型, 与 [page:KeyframeTrack] 内的 *ValueBufferType* 属性不一样).
  33. </p>
  34. <h3>[property:String ValueTypeName]</h3>
  35. <p>
  36. String 'bool'.
  37. </p>
  38. <h2>方法</h2>
  39. <p class="desc">
  40. 参见 [page:KeyframeTrack] 查看继承的方法.
  41. </p>
  42. <h3>[method:undefined InterpolantFactoryMethodLinear ]()</h3>
  43. <p>
  44. 这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
  45. </p>
  46. <h3>[method:undefined InterpolantFactoryMethodSmooth ]()</h3>
  47. <p>
  48. 这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
  49. </p>
  50. <h2>源码</h2>
  51. <p>
  52. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  53. </p>
  54. </body>
  55. </html>