PolygonOptions

Options for creating a polygon shape.

PolygonOptions interface

Options for creating a polygon shape.

Signature:

interface PolygonOptions

Properties

Property

Modifiers

Type

Description

outerRadius?

number

(Optional) Initial outer radius

outerRoundness?

number

(Optional) Initial roundness of outer points (0-100)

points?

number

(Optional) Number of points/sides of the polygon

position?

Vector

(Optional) Initial position of the polygon

rotation?

number

(Optional) Initial rotation angle in degrees

Last updated: August 5, 2026 at 11:47 AMEdit this page