static CreateMaterialColorAnimation( duration, colors ) {

		const times = [], values = [],
			timeStep = ( colors.length > 1 ) ? duration / ( colors.length - 1 ) : 0;

		for ( let i = 0; i < colors.length; i ++ ) {

			times.push( i * timeStep );

			const color = colors[ i ];
			values.push( color.r, color.g, color.b );

		}

		const trackName = '.material.color';

		const track = new ColorKeyframeTrack( trackName, times, values );

		return new AnimationClip( '', duration, [ track ] );

	}
Creates an animation clip that animates the `color` property of a 3D object's
material.

@param {number} duration - The duration of the animation.
@param {Array<Color>} colors - An array of colors that should be sequentially animated.
@return {AnimationClip} The created animation clip.