generateVectorTrack method

dynamic generateVectorTrack(
  1. dynamic modelName,
  2. dynamic curves,
  3. dynamic initialValue,
  4. dynamic type,
)

Implementation

generateVectorTrack(modelName, curves, initialValue, type) {
  var times = getTimesForAllAxes(curves);
  var values = getKeyframeTrackValues(times, curves, initialValue);

  return VectorKeyframeTrack('$modelName.$type', times, values);
}