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