PolygonLightingType constructor

PolygonLightingType(
  1. List<Vector2> points
)

Implementation

PolygonLightingType(List<Vector2> points)
    : points = List<Vector2>.unmodifiable(
        points.map((point) => point.clone()).toList(growable: false),
      );