generateVectorTrack method

dynamic generateVectorTrack(
  1. dynamic modelName,
  2. dynamic curves,
  3. dynamic initialValue,
  4. 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);
}