StringKeyframeTrack.html 2.0 KB

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