LineMaterial.d.ts 578 B

123456789101112131415161718192021222324252627282930
  1. import {
  2. Color,
  3. MaterialParameters,
  4. ShaderMaterial,
  5. Vector2
  6. } from '../../../src/Three';
  7. export interface LineMaterialParameters extends MaterialParameters {
  8. color?: number;
  9. dashed?: boolean;
  10. dashScale?: number;
  11. dashSize?: number;
  12. gapSize?: number;
  13. linewidth?: number;
  14. resolution?: Vector2;
  15. }
  16. export class LineMaterial extends ShaderMaterial {
  17. constructor( parameters?: LineMaterialParameters );
  18. color: Color;
  19. dashed: boolean;
  20. dashScale: number;
  21. dashSize: number;
  22. gapSize: number;
  23. readonly isLineMaterial: true;
  24. linewidth: number;
  25. resolution: Vector2;
  26. }