Spaces:
Running
Running
File size: 1,305 Bytes
6cd9596 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
import { Color } from './../math/Color';
import { LightShadow } from './LightShadow';
import { Object3D } from './../core/Object3D';
// Lights //////////////////////////////////////////////////////////////////////////////////
/**
* Abstract base class for lights.
*/
export class Light extends Object3D {
constructor(hex?: number | string, intensity?: number);
color: Color;
intensity: number;
receiveShadow: boolean;
shadow: LightShadow;
/**
* @deprecated Use shadow.camera.fov instead.
*/
shadowCameraFov: any;
/**
* @deprecated Use shadow.camera.left instead.
*/
shadowCameraLeft: any;
/**
* @deprecated Use shadow.camera.right instead.
*/
shadowCameraRight: any;
/**
* @deprecated Use shadow.camera.top instead.
*/
shadowCameraTop: any;
/**
* @deprecated Use shadow.camera.bottom instead.
*/
shadowCameraBottom: any;
/**
* @deprecated Use shadow.camera.near instead.
*/
shadowCameraNear: any;
/**
* @deprecated Use shadow.camera.far instead.
*/
shadowCameraFar: any;
/**
* @deprecated Use shadow.bias instead.
*/
shadowBias: any;
/**
* @deprecated Use shadow.mapSize.width instead.
*/
shadowMapWidth: any;
/**
* @deprecated Use shadow.mapSize.height instead.
*/
shadowMapHeight: any;
}
|