Dodecahedron
Dodecahedron is a primitive object that creates a dodecahedron.
Syntax
<Dodecahedron />
Parameters
All objects share the same base parameters from ComponentObjectProps.
| Name | Type | Description |
|---|---|---|
radius | number | The radius of the dodecahedron. |
detail | number | The detail of the dodecahedron. |
bloom | boolean | Whether use bloom effect. |
color | ColorType | The base color. |
material | ObjectMaterialMix | The material. |
Example
<Dodecahedron radius={1} detail={0} color="red" />
Available on: Client Server