Cone
Cone
is a primitive object that creates a cone.
Syntax
<Cone />
Parameters
All objects share the same base parameters from ComponentObjectProps
.
Name | Type | Description |
---|---|---|
radius | number | The radius of the cone. |
height | number | The height of the cone. |
radialSegments | number | The number of segmented faces around the circumference of the cone. |
heightSegments | number | The number of rows of faces along the height of the cone. |
openEnded | boolean | Whether the cone is open-ended or not. |
thetaStart | number | The starting angle of the cone. |
thetaLength | number | The central angle of the cone. |
bloom | boolean | Whether use bloom effect. |
color | ColorType | The base color. |
material | ObjectMaterialMix | The material. |
Example
<Cone radius={1} height={2} />
Available on: Client Server