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