tetrahedron.md 666 B

Tetrahedron

The cientos package provides a <Tetrahedron /> component that serves as a short-cut for a TetrahedronGeometry and a MeshBasicMaterial with a Mesh object.

args: [radius: number, detail: number]

Reference: TetrahedronGeometry

Usage

<Tetrahedron :args="[1, 0]" color="yellow" />

// Tetrahedron with a custom material transformations
<Tetrahedron ref="tetrahedronRef" :args="[1, 0]" :position="[2, 4, 0]">
  <TresMeshToonMaterial color="yellow" />
</Tetrahedron>