Circle
Circle
is a primitive object that creates a circle.
Syntax
<Circle />
Parameters
All objects share the same base parameters from ComponentObjectProps
.
Name | Type | Description |
---|---|---|
radius | number | The radius of the circle. |
segments | number | The number of segments of the circle. |
thetaStart | number | The starting angle of the circle. |
thetaLength | number | The length of the circle. |
bloom | boolean | Whether use bloom effect. |
color | ColorType | The base color. |
material | ObjectMaterialMix | The material. |
Example
<Circle radiusTop={0.5} radiusBottom={0.5} height={1} />
Available on: Client Server