Create a new ConeGeometry instance.
By default, the constructor creates a cone standing vertically centered on the XZ-plane with a base radius of 0.5, a height of 1.0, 5 height segments and 18 cap segments. The cone is created with UVs in the range of 0 to 1.
Optional
opts: {Options object.
Optional
baseRadius?: numberThe base radius of the cone. Defaults to 0.5.
Optional
calculateTangents?: booleanGenerate tangent information. Defaults to false.
Optional
capSegments?: numberThe number of divisions around the tubular body of the cone. Defaults to 18.
Optional
height?: numberThe length of the body of the cone. Defaults to 1.
Optional
heightSegments?: numberThe number of divisions along the length of the cone. Defaults to 5.
Optional
peakRadius?: numberThe peak radius of the cone. Defaults to 0.
A procedural cone-shaped geometry.
Typically, you would: