[page:KeyframeTrack] →
[name]
A Track of quaternion keyframe values.
Constructor
[name]( [page:String name], [page:Array times], [page:Array values] )
-- [page:String name] (required) identifier for the KeyframeTrack.
-- [page:Array times] (required) array of keyframe times
-- [page:Array values] values for the keyframes at the times specified.
-- [page:Constant interpolation] the type of interpolation to use. See [page:Animation Animation Constants] for possible values.
Default is [page:Animation InterpolateLinear].
Properties
See [page:KeyframeTrack] for inherited properties.
[property:String ValueTypeName]
String 'quaternion'.
[property:Constant DefaultInterpolation]
The default interpolation type to use, [page:Animation InterpolateLinear].
Methods
See [page:KeyframeTrack] for inherited methods.
[method:Number getValueSize ]( )
The the size of each value (length of the values array divied by length of times array).
[method:null InterpolantFactoryMethodLinear ]( )
Returns a new [page:QuaternionLinearInterpolant QuaternionLinearInterpolant] based on the [page:KeyframeTrack.values values],
[page:KeyframeTrack.times times] and [page:KeyframeTrack.valueSize valueSize] of the keyframes.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]