KeyframeTrack

ColorKeyframeTrack

A track for color keyframe values.

Constructor

new ColorKeyframeTrack( name : string, times : Array.<number>, values : Array.<number>, interpolation : InterpolateLinear | InterpolateDiscrete | InterpolateSmooth )

Constructs a new color keyframe track.

name

The keyframe track's name.

times

A list of keyframe times.

values

A list of keyframe values.

interpolation

The interpolation type.

Properties

.ValueTypeName : string

The value type name.

Default is 'color'.

Overrides: KeyframeTrack#ValueTypeName

Source

src/animation/tracks/ColorKeyframeTrack.js