📖 INDEX
LOADING ENGINE...
PointLight
THREE.JS REFERENCE // pointlight
A light that gets emitted from a single point in all directions.
Syntax
const light = new THREE.PointLight(0xff0000, 1, 100);Examples
Example 01Basic Usage
const light = new THREE.PointLight(0xff0000, 1, 100);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.