starry / backend /libs /three /renderers /webgl /WebGLShadowMap.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
import { WebGLCapabilities } from './WebGLCapabilities';
import { Scene } from './../../scenes/Scene';
import { Camera } from './../../cameras/Camera';
import { WebGLRenderer } from '../WebGLRenderer';
import { ShadowMapType } from '../../constants';
import { WebGLObjects } from './WebGLObjects';
import { Light } from '../../lights/Light';
export class WebGLShadowMap {
constructor(_renderer: WebGLRenderer, _objects: WebGLObjects, _capabilities: WebGLCapabilities);
/**
* @default false
*/
enabled: boolean;
/**
* @default true
*/
autoUpdate: boolean;
/**
* @default false
*/
needsUpdate: boolean;
/**
* @default THREE.PCFShadowMap
*/
type: ShadowMapType;
render(shadowsArray: Light[], scene: Scene, camera: Camera): void;
/**
* @deprecated Use {@link Material#shadowSide} instead.
*/
cullFace: any;
}