deformedPoints property

List<PathPoint> deformedPoints
override

Implementation

@override
List<PathPoint> get deformedPoints {
  if (!isConnectedToBones || skin == null) {
    return _points;
  }

  Float32List boneMatrices = skin.boneMatrices;
  List<PathPoint> deformed = <PathPoint>[];
  for (final PathPoint point in _points) {
    deformed.add(point.skin(worldTransform, boneMatrices));
  }
  return deformed;
}