PolygonComp:
The polygon component.
since
v3001.0
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
v3001.0
tex?: Texture
The texture used when uv coordinates are present.
since
v3001.0