generateVectorTrack method
dynamic
generateVectorTrack(
- dynamic modelName,
- dynamic curves,
- dynamic initialValue,
- dynamic type,
Implementation
generateVectorTrack( modelName, curves, initialValue, type ) {
var times = this.getTimesForAllAxes( curves );
var values = this.getKeyframeTrackValues( times, curves, initialValue );
return new VectorKeyframeTrack( '${modelName}.${type}', times, values );
}