UNPKG

three

Version:

JavaScript 3D library

25 lines (19 loc) 432 B
import { Mesh, BufferGeometry, Color, TextureEncoding, WebGLRenderTarget } from '../../../src/Three'; export interface RefractorOptions { color?: Color; textureWidth?: number; textureHeight?: number; clipBias?: number; shader?: object; encoding?: TextureEncoding; } export class Refractor extends Mesh { constructor( geometry?: BufferGeometry, options?: RefractorOptions ); getRenderTarget(): WebGLRenderTarget; }