📖 INDEX
LOADING ENGINE...
PolyhedronGeometry
THREE.JS REFERENCE // polyhedrongeometry
A polyhedron is a solid in three dimensions with flat faces.
Syntax
const geometry = new THREE.PolyhedronGeometry(vertices, indices, radius, detail);Examples
Example 01Basic Usage
const geometry = new THREE.PolyhedronGeometry(vertices, indices, radius, detail);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.