class PointLight
extends Light
import { PointLight } from "https://deno.land/x/threejs_4_deno@v121/src/lights/PointLight.d.ts";
Examples
const light = new THREE.PointLight( 0xff0000, 1, 100 );
light.position.set( 50, 50, 50 );
scene.add( light );
const light = new THREE.PointLight( 0xff0000, 1, 100 ); light.position.set( 50, 50, 50 ); scene.add( light );
Constructors
Properties
If non-zero, light will attenuate linearly from maximum intensity at light position down to zero at distance.
shadow: PointLightShadow