📖 INDEX
LOADING ENGINE...
Raycaster
THREE.JS REFERENCE // raycaster
Used for mouse picking (working out what objects in the 3d space the mouse is over).
Syntax
const raycaster = new THREE.Raycaster();Examples
Example 01Basic Usage
const raycaster = new THREE.Raycaster();Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.