📖 INDEX
LOADING ENGINE...
BoxGeometry
THREE.JS REFERENCE // boxgeometry
A geometry class for a rectangular cuboid.
Syntax
const geometry = new THREE.BoxGeometry(1, 1, 1);Examples
Example 01Basic Usage
const geometry = new THREE.BoxGeometry(1, 1, 1);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.