PolygonComp:
The polygon component.
since
draw: Comp[draw]
pts: Vec2[]
Points in the polygon.radius?: number | number[]
The radius of each corner.colors?: Color[]
The color of each vertex.uv?: Vec2[]
The uv of each vertex.since
tex?: Texture
The texture used when uv coordinates are present.since