UNPKG

910 BTypeScriptView Raw
1import { WebGLCapabilities } from './WebGLCapabilities';
2import { Scene } from './../../scenes/Scene';
3import { Camera } from './../../cameras/Camera';
4import { WebGLRenderer } from '../WebGLRenderer';
5import { ShadowMapType } from '../../constants';
6import { WebGLObjects } from './WebGLObjects';
7import { Light } from '../../lights/Light';
8
9export class WebGLShadowMap {
10 constructor(_renderer: WebGLRenderer, _objects: WebGLObjects, _capabilities: WebGLCapabilities);
11
12 /**
13 * @default false
14 */
15 enabled: boolean;
16
17 /**
18 * @default true
19 */
20 autoUpdate: boolean;
21
22 /**
23 * @default false
24 */
25 needsUpdate: boolean;
26
27 /**
28 * @default THREE.PCFShadowMap
29 */
30 type: ShadowMapType;
31
32 render(shadowsArray: Light[], scene: Scene, camera: Camera): void;
33
34 /**
35 * @deprecated Use {@link Material#shadowSide} instead.
36 */
37 cullFace: any;
38}