Interface
PolygonComp
:The polygon component.
since
v3001.0
group
Component Types
draw
: Comp["draw"]pts
: Vec2[]Points in the polygon.
radius
?: number | number[]The radius of each corner.
colors
?: Color[]The color of each vertex.
opacities
?: number[]The opacity of each vertex.
uv
?: Vec2[]The uv of each vertex.
since
v3001.0
tex
?: TextureThe texture used when uv coordinates are present.
since
v3001.0