Cone

Cone

Cone mesh data

Constructor

new Cone(radialSamplesopt, radiusopt, heightopt)

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

Number of slices

radius number <optional>
1

Radius of the cone

height number <optional>
2

The height of the cone

Methods

clone() → {Cone}

Returns a clone of this cone

rebuild() → {Cone}

Builds or rebuilds the mesh data.