polygon static method
An arbitrary polygon centered on the light position, rotated by the light angle.
points are relative to the light center. The light radius is used as
the reference distance for pulse, flicker and falloff.
Implementation
static PolygonLightingType polygon(List<Vector2> points) =>
PolygonLightingType(points);