WebGLLights.d.ts 1014 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import { WebGLExtensions } from './WebGLExtensions';
  2. import { WebGLCapabilities } from './WebGLCapabilities';
  3. export class WebGLLights {
  4. constructor( extensions: WebGLExtensions, capabilities: WebGLCapabilities );
  5. state: {
  6. version: number;
  7. hash: {
  8. directionalLength: number;
  9. pointLength: number;
  10. spotLength: number;
  11. rectAreaLength: number;
  12. hemiLength: number;
  13. numDirectionalShadows: number;
  14. numPointShadows: number;
  15. numSpotShadows: number;
  16. };
  17. ambient: Array<number>;
  18. probe: Array<any>;
  19. directional: Array<any>;
  20. directionalShadow: Array<any>;
  21. directionalShadowMap: Array<any>;
  22. directionalShadowMatrix: Array<any>;
  23. spot: Array<any>;
  24. spotShadow: Array<any>;
  25. spotShadowMap: Array<any>;
  26. spotShadowMatrix: Array<any>;
  27. rectArea: Array<any>;
  28. point: Array<any>;
  29. pointShadow: Array<any>;
  30. pointShadowMap: Array<any>;
  31. pointShadowMatrix: Array<any>;
  32. hemi: Array<any>;
  33. };
  34. get( light: any ): any;
  35. setup( lights: any, shadows: any, camera: any ): void;
  36. }
粤ICP备19079148号