Skip to main content

Dodecahedron

Dodecahedron is a primitive object that creates a dodecahedron.

Syntax

<Dodecahedron />

Parameters

All objects share the same base parameters from ComponentObjectProps.

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

Example

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

Available on: Client Server