Spaces:
Running
Running
File size: 1,353 Bytes
2b7aae2 | 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 59 60 61 62 63 64 65 66 67 68 69 70 | 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);
/**
* @default 'Light'
*/
type: string;
color: Color;
/**
* @default 1
*/
intensity: number;
readonly isLight: true;
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;
dispose(): void;
}
|