[page:Object3D] → [page:Light] →
[name]
todo
Example
// white spotlight shining from the side, casting shadow
var spotLight = new THREE.SpotLight( 0xffffff );
spotLight.position.set( 100, 1000, 100 );
spotLight.castShadow = true;
spotLight.shadowMapWidth = 1024;
spotLight.shadowMapHeight = 1024;
spotLight.shadowCameraNear = 500;
spotLight.shadowCameraFar = 4000;
spotLight.shadowCameraFov = 30;
scene.add( spotLight );
Constructor
[name]()
Properties
.[page:Vector3 todo]
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]