Refractor.d.ts 385 B

12345678910111213141516171819202122
  1. import {
  2. Mesh,
  3. BufferGeometry,
  4. Color,
  5. WebGLRenderTarget
  6. } from '../../../src/Three';
  7. export interface RefractorOptions {
  8. color?: Color;
  9. textureWidth?: number;
  10. textureHeight?: number;
  11. clipBias?: number;
  12. shader?: object;
  13. }
  14. export class Refractor extends Mesh {
  15. constructor( geometry?: BufferGeometry, options?: RefractorOptions );
  16. getRenderTarget(): WebGLRenderTarget;
  17. }