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