radiusnumber — distance from center to polygon corner (1)
sidesnumber — number of polygon sides (4)
rotationnumber — rotation offset for first polygon corner (0)
direction1 | -1 — angular direction of corners - 1 is CCW in the
XY plane (1)
([0,, 0, 0])
tris2 | 3 — if defined, return an array of numbers representing
the interlaced x/y/z components of points that define triangles that can draw
the polygon. 2 returns just x/y components and 3 returns x/y/z
components.
centerTypeParsablePoint — center position of the polygonradiusnumber— distance from center to polygon corner (1)sidesnumber— number of polygon sides (4)rotationnumber— rotation offset for first polygon corner (0)direction1|-1— angular direction of corners - 1 is CCW in the XY plane (1) ([0,, 0, 0])tris2|3— if defined, return an array of numbers representing the interlaced x/y/z components of points that define triangles that can draw the polygon.2returns just x/y components and3returns x/y/z components.transformType3DMatrix| TypeParsableTransform — transform to apply to polygon