Files
PropertyDeployment/resources/Web/MicroCommunityIotWeb/html/js/three/src/materials/LineDashedMaterial.js
2025-12-09 20:22:03 +08:00

36 lines
524 B
JavaScript

import { LineBasicMaterial } from './LineBasicMaterial.js';
class LineDashedMaterial extends LineBasicMaterial {
constructor( parameters ) {
super();
this.isLineDashedMaterial = true;
this.type = 'LineDashedMaterial';
this.scale = 1;
this.dashSize = 3;
this.gapSize = 1;
this.setValues( parameters );
}
copy( source ) {
super.copy( source );
this.scale = source.scale;
this.dashSize = source.dashSize;
this.gapSize = source.gapSize;
return this;
}
}
export { LineDashedMaterial };