GridHelper.d.ts 608 B

1234567891011121314151617181920212223242526272829
  1. import { Color } from './../math/Color';
  2. import { LineSegments } from './../objects/LineSegments';
  3. export class GridHelper extends LineSegments {
  4. /**
  5. * @param [size=10]
  6. * @param [divisions=10]
  7. * @param [color1=0x444444]
  8. * @param [color2=0x888888]
  9. */
  10. constructor(
  11. size?: number,
  12. divisions?: number,
  13. color1?: Color | string | number,
  14. color2?: Color | string | number
  15. );
  16. /**
  17. * @default 'GridHelper'
  18. */
  19. type: string;
  20. /**
  21. * @deprecated Colors should be specified in the constructor.
  22. */
  23. setColors( color1?: Color | string | number, color2?: Color | string | number ): void;
  24. }
粤ICP备19079148号