Disk

Disk

A disk shape

Constructor

new Disk(nSegmentsopt, radiusopt, pointinessopt)

Parameters:
Name Type Attributes Default Description
nSegments number <optional>
8

Number of slices

radius number <optional>
1

Radius of the disk

pointiness number <optional>
0

The center of the disk can be offset in both directions from its outer edge by setting a positive or negative pointiness.

Methods

clone() → {Disk}

Returns a clone of this disk

rebuild() → {Disk}

Builds or rebuilds the mesh data.