📖 INDEX
LOADING ENGINE...
TubeGeometry
THREE.JS REFERENCE // tubegeometry
Creates a tube that extrudes along a 3d curve.
Syntax
const geometry = new THREE.TubeGeometry(path, 20, 2, 8, false);Examples
Example 01Basic Usage
const geometry = new THREE.TubeGeometry(path, 20, 2, 8, false);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.