Skip to main content

Tetrahedron

Tetrahedron is a primitive object that creates a tetrahedron.

Syntax

<Tetrahedron />

Parameters

All objects share the same base parameters from ComponentObjectProps.

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

Example

<Tetrahedron radius={1} detail={0} color="#FF0000" />

Available on: Client Server