ColorKeyframeTrack.html.md 794 B

Inheritance: KeyframeTrack →

ColorKeyframeTrack

A track for color keyframe values.

Constructor

new ColorKeyframeTrack( name : string, times : Array., values : Array., 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

粤ICP备19079148号