Reflector.d.ts 432 字节
Newer Older
1
import {
G
Garrett Johnson 已提交
2 3 4
	Mesh,
	BufferGeometry,
	Color,
5
	TextureEncoding,
G
Garrett Johnson 已提交
6
	WebGLRenderTarget
7 8 9
} from '../../../src/Three';

export interface ReflectorOptions {
G
Garrett Johnson 已提交
10 11 12 13 14
	color?: Color;
	textureWidth?: number;
	textureHeight?: number;
	clipBias?: number;
	shader?: object;
15
	encoding?: TextureEncoding;
16 17 18 19
}

export class Reflector extends Mesh {

G
Garrett Johnson 已提交
20 21 22 23
	constructor( geometry?: BufferGeometry, options?: ReflectorOptions );

	getRenderTarget(): WebGLRenderTarget;

24
}