ColorKeyframeTrack.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 keyframe values that represent color changes.<br /><br />
  15. The very basic implementation of this subclass has nothing special yet. However, this is the place
  16. for color space parameterization.
  17. </div>
  18. <h2>Constructor</h2>
  19. <h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
  20. <div>
  21. [page:String name] - (required) identifier for the KeyframeTrack.<br />
  22. [page:Array times] - (required) array of keyframe times.<br />
  23. [page:Array values] - values for the keyframes at the times specified.<br />
  24. [page:Constant interpolation] - the type of interpolation to use. See
  25. [page:Animation Animation Constants] for possible values. Default is
  26. [page:Animation InterpolateLinear].
  27. </div>
  28. <h2>Properties</h2>
  29. <div class="desc">
  30. See [page:KeyframeTrack] for inherited properties.
  31. </div>
  32. <h3>[property:String ValueTypeName]</h3>
  33. <div>
  34. String 'color'.
  35. </div>
  36. <h2>Methods</h2>
  37. <div class="desc">
  38. See [page:KeyframeTrack] for inherited methods.
  39. </div>
  40. <h2>Source</h2>
  41. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  42. </body>
  43. </html>