DeformTimeline constructor

DeformTimeline(
  1. int frameCount,
  2. int slotIndex,
  3. VertexAttachment attachment
)

Implementation

DeformTimeline(int frameCount, this.slotIndex, this.attachment)
    : assert(slotIndex >= 0),
      frames = Float32List(frameCount),
      frameVertices =
          List<Float32List?>.filled(frameCount, null, growable: false),
      super(frameCount);