createTrack method
dynamic
createTrack(
- dynamic v0,
- dynamic v1,
- dynamic v2,
- dynamic v3,
Implementation
createTrack(v0, v1, v2, v3) {
switch (this.path) {
case PATH_PROPERTIES.weights:
return NumberKeyframeTrack(v0, v1, v2, v3);
break;
case PATH_PROPERTIES.rotation:
return QuaternionKeyframeTrack(v0, v1, v2, v3);
break;
case PATH_PROPERTIES.position:
case PATH_PROPERTIES.scale:
default:
return VectorKeyframeTrack(v0, v1, v2, v3);
break;
}
}