BooleanKeyframeTrack.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. [page:KeyframeTrack] &rarr;
  12. <h1>[name]</h1>
  13. <p class="desc">
  14. A Track of boolean keyframe values.
  15. </p>
  16. <h2>Constructor</h2>
  17. <h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
  18. <p>
  19. [page:String name] - (required) identifier for the KeyframeTrack.<br />
  20. [page:Array times] - (required) array of keyframe times.<br />
  21. [page:Array values] - values for the keyframes at the times specified.<br />
  22. </p>
  23. <h2>Properties</h2>
  24. <p class="desc">
  25. See [page:KeyframeTrack] for inherited properties.
  26. </p>
  27. <h3>[property:Constant DefaultInterpolation]</h3>
  28. <p>
  29. The default interpolation type to use, [page:Animation InterpolateDiscrete].
  30. </p>
  31. <h3>[property:Array ValueBufferType]</h3>
  32. <p>
  33. A normal Array (no Float32Array in this case, unlike *ValueBufferType* of [page:KeyframeTrack]).
  34. </p>
  35. <h3>[property:String ValueTypeName]</h3>
  36. <p>
  37. String 'bool'.
  38. </p>
  39. <h2>Methods</h2>
  40. <p class="desc">
  41. See [page:KeyframeTrack] for inherited methods.
  42. </p>
  43. <h3>[method:null InterpolantFactoryMethodLinear ]()</h3>
  44. <p>
  45. The value of this method here is 'undefined', as it does not make sense for discrete properties.
  46. </p>
  47. <h3>[method:null InterpolantFactoryMethodSmooth ]()</h3>
  48. <p>
  49. The value of this method here is 'undefined', as it does not make sense for discrete properties.
  50. </p>
  51. <h2>Source</h2>
  52. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  53. </body>
  54. </html>