📖 INDEX
LOADING ENGINE...
SpotLight
THREE.JS REFERENCE // spotlight
A light that gets emitted from a single point in one direction, along a cone.
Syntax
const light = new THREE.SpotLight(0xffffff);Examples
Example 01Basic Usage
const light = new THREE.SpotLight(0xffffff);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.