AnimationPart constructor

AnimationPart({
  1. required int moment,
  2. Curve curve = Curves.linear,
  3. double x = 1.0,
  4. double y = 1.0,
  5. double z = 1.0,
})

Implementation

AnimationPart({
  required this.moment,
  this.curve = Curves.linear,
  double x = 1.0,
  double y = 1.0,
  double z = 1.0,
}) : xyz = Vector3(x, y, z);