KeyframeTrack →
ColorKeyframeTrack
A Track of keyframe values that represent color changes.
The very basic implementation of this subclass has nothing special yet. However, this is the place
for color space parameterization.
Constructor
ColorKeyframeTrack(name : String, times : Array, values : Array, interpolation : Constant)
- name — (required) identifier for the KeyframeTrack.
- times — (required) array of keyframe times.
- values — values for the keyframes at the times specified, a flat array of color components between 0 and 1.
- interpolation — the type of interpolation to use. See Animation Constants for possible values. Default is
InterpolateLinear
.
Properties
See KeyframeTrack for inherited properties.
String 'color'
.
Methods
See KeyframeTrack for inherited methods.
Source
For more info on how to obtain the source code of this module see this page.