1
0

QuaternionKeyframeTrack.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 quaternion keyframe values.</p>
  13. <h2>Constructor</h2>
  14. <h3>
  15. [name]( [param:String name], [param:Array times], [param:Array values], [param:Constant interpolation] )
  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, a
  21. flat array of quaternion components.<br />
  22. [page:Constant interpolation] - the type of interpolation to use. See
  23. [page:Animation Animation Constants] for possible values. Default is
  24. [page:Animation InterpolateLinear].
  25. </p>
  26. <h2>Properties</h2>
  27. <p class="desc">See [page:KeyframeTrack] for inherited properties.</p>
  28. <h3>[property:Constant DefaultInterpolation]</h3>
  29. <p>
  30. The default interpolation type to use, [page:Animation InterpolateLinear].
  31. </p>
  32. <h3>[property:String ValueTypeName]</h3>
  33. <p>String 'quaternion'.</p>
  34. <h2>Methods</h2>
  35. <p class="desc">See [page:KeyframeTrack] for inherited methods.</p>
  36. <h3>
  37. [method:QuaternionLinearInterpolant InterpolantFactoryMethodLinear]()
  38. </h3>
  39. <p>
  40. Returns a new [page:QuaternionLinearInterpolant QuaternionLinearInterpolant] based on the [page:KeyframeTrack.values values], [page:KeyframeTrack.times times] and
  41. [page:KeyframeTrack.valueSize valueSize] of the keyframes.
  42. </p>
  43. <h2>Source</h2>
  44. <p>
  45. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  46. </p>
  47. </body>
  48. </html>