CinematicCamera.d.ts 729 B

123456789101112131415161718192021222324252627282930313233
  1. import {
  2. PerspectiveCamera,
  3. ShaderMaterial,
  4. Scene,
  5. WebGLRenderer
  6. } from '../../../src/Three';
  7. export class CinematicCamera extends PerspectiveCamera {
  8. constructor( fov: number, aspect: number, near: number, far: number );
  9. postprocessing: {
  10. enabled: boolean;
  11. };
  12. shaderSettings: {
  13. rings: number;
  14. samples: number;
  15. };
  16. materialDepth: ShaderMaterial;
  17. coc: number;
  18. aperture: number;
  19. fNumber: number;
  20. hyperFocal: number;
  21. filmGauge: number;
  22. linearize( depth: number ): number;
  23. smoothstep( near: number, far: number, depth: number ): number;
  24. saturate( x: number ): number;
  25. focusAt( focusDistance: number ): void;
  26. initPostProcessing(): void;
  27. renderCinematic( scene: Scene, renderer: WebGLRenderer ): void;
  28. }