AsciiEffect.d.ts 467 B

123456789101112131415161718192021222324
  1. import {
  2. Camera,
  3. Scene,
  4. WebGLRenderer
  5. } from '../../../src/Three';
  6. export interface AsciiEffectOptions {
  7. resolution?: number;
  8. scale?: number;
  9. color?: boolean;
  10. alpha?: boolean;
  11. block?: boolean;
  12. invert?: boolean;
  13. }
  14. export class AsciiEffect {
  15. constructor( renderer: WebGLRenderer, charSet?: string, options?: AsciiEffectOptions );
  16. domElement: HTMLElement;
  17. render( scene: Scene, camera: Camera ): void;
  18. setSize( width: number, height: number ): void;
  19. }