2
0

BooleanKeyframeTrack.html 1.7 KB

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