File size: 573 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
import { Camera } from './../../cameras/Camera';
import { Material } from './../../materials/Material';
import { WebGLProperties } from './WebGLProperties';

export class WebGLClipping {
	constructor(properties: WebGLProperties);

	uniform: { value: any; needsUpdate: boolean };

	/**
	 * @default 0
	 */
	numPlanes: number;

	/**
	 * @default 0
	 */
	numIntersection: number;

	init(planes: any[], enableLocalClipping: boolean, camera: Camera): boolean;
	beginShadows(): void;
	endShadows(): void;
	setState(material: Material, camera: Camera, useCache: boolean): void;
}