5.4.0

Dodecahedron

Short-cut for a DodecahedronGeometry and a MeshBasicMaterial with a Mesh object.

The cientos package provides a <Dodecahedron /> component that serves as a short-cut for a DodecahedronGeometry.

args: [radius: number, detail: number]

Reference: DodecahedronGeometry

Usage

<Dodecahedron :args="[1, 0]" color="orange" />

// Dodecahedron with a custom material transformations
<Dodecahedron ref="dodecahedronRef" :args="[1, 0]" :position="[2, 4, 0]">
  <TresMeshToonMaterial color="orange" />
</Dodecahedron>