[page:KeyframeTrack] →
[name]
A Track of String 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 InterpolateDiscrete].
Properties
See [page:KeyframeTrack] for inherited properties.
[property:String ValueTypeName]
String 'string'.
[property:Constant DefaultInterpolation]
The default interpolation type to use, [page:Animation InterpolateDiscrete].
Methods
See [page:KeyframeTrack] for inherited methods.
[method:null InterpolantFactoryMethodLinear ]( )
The value of this method here is 'undefined', as it does not make sense for discrete properties.
[method:null InterpolantFactoryMethodSmooth ]( )
The value of this method here is 'undefined', as it does not make sense for discrete properties.
[method:null ValueBufferType ]( )
Used to convert the values array passed in the constructor to an Array.
Note: In this case this does nothing, other Track types may convert the array to a Typed Array.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]