Skip to main content

Icosahedron

Icosahedron is a primitive object that creates a icosahedron.

Syntax​

<Icosahedron />

Parameters​

All objects share the same base parameters from ComponentObjectProps.

NameTypeDescription
radiusnumberThe radius of the icosahedron.
detailnumberThe detail of the icosahedron.
bloombooleanWhether use bloom effect.
colorColorTypeThe base color.
materialObjectMaterialMixThe material.

Example​

<Icosahedron radius={1} detail={0} color="red" />

Available on: Client Server