DirectionalLightHelper.d.ts 716 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { DirectionalLight } from './../lights/DirectionalLight';
  2. import { Color } from './../math/Color';
  3. import { Line } from './../objects/Line';
  4. import { Matrix4 } from './../math/Matrix4';
  5. import { Object3D } from './../core/Object3D';
  6. export class DirectionalLightHelper extends Object3D {
  7. /**
  8. * @param light
  9. * @param [size=1]
  10. * @param color
  11. */
  12. constructor(
  13. light: DirectionalLight,
  14. size?: number,
  15. color?: Color | string | number
  16. );
  17. light: DirectionalLight;
  18. lightPlane: Line;
  19. targetLine: Line;
  20. /**
  21. * @default undefined
  22. */
  23. color: Color | string | number | undefined;
  24. matrix: Matrix4;
  25. /**
  26. * @default false
  27. */
  28. matrixAutoUpdate: boolean;
  29. dispose(): void;
  30. update(): void;
  31. }