BooleanKeyframeTrack.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <div class="desc">
  14. A Track of Boolean keyframe values.
  15. </div>
  16. <h2>Constructor</h2>
  17. <h3>[name]( [page:String name], [page:Array times], [page:Array values] )</h3>
  18. <div>
  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. </div>
  23. <h2>Properties</h2>
  24. See [page:KeyframeTrack] for inherited properties.
  25. <h3>[property:String ValueTypeName]</h3>
  26. <div>
  27. String 'bool'.
  28. </div>
  29. <h3>[property:Constant DefaultInterpolation]</h3>
  30. <div>
  31. The default interpolation type to use, [page:Animation InterpolateDiscrete].
  32. </div>
  33. <h2>Methods</h2>
  34. See [page:KeyframeTrack] for inherited methods.
  35. <h3>[method:null InterpolantFactoryMethodLinear ]( )</h3>
  36. <div>
  37. The value of this method here is 'undefined', as it does not make sense for discrete properties.
  38. </div>
  39. <h3>[method:null InterpolantFactoryMethodSmooth ]( )</h3>
  40. <div>
  41. The value of this method here is 'undefined', as it does not make sense for discrete properties.
  42. </div>
  43. <h3>[method:null ValueBufferType ]( )</h3>
  44. <div>
  45. Used to convert the values array passed in the constructor to an Array.
  46. Note: In this case this does nothing, other Track types may convert the array to a Typed Array.
  47. </div>
  48. <h2>Source</h2>
  49. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  50. </body>
  51. </html>