Skip to main content

Octahedron

Octahedron is a primitive object that creates a octahedron.

Syntax​

<Octahedron />

Parameters​

All objects share the same base parameters from ComponentObjectProps.

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

Example​

<Octahedron radius={1} detail={0} color="red" />

Available on: Client Server