Skip to main content

Circle

Circle is a primitive object that creates a circle.

Syntax

<Circle />

Parameters

All objects share the same base parameters from ComponentObjectProps.

NameTypeDescription
radiusnumberThe radius of the circle.
segmentsnumberThe number of segments of the circle.
thetaStartnumberThe starting angle of the circle.
thetaLengthnumberThe length of the circle.
bloombooleanWhether use bloom effect.
colorColorTypeThe base color.
materialObjectMaterialMixThe material.

Example

<Circle radiusTop={0.5} radiusBottom={0.5} height={1} />

Available on: Client Server