|
@@ -5,16 +5,16 @@
|
|
|
* color: <hex>,
|
|
|
* opacity: <float>,
|
|
|
*
|
|
|
- * blending: THREE.NormalBlending,
|
|
|
- * depthTest: <bool>,
|
|
|
- * depthWrite: <bool>,
|
|
|
- *
|
|
|
* linewidth: <float>,
|
|
|
*
|
|
|
* scale: <float>,
|
|
|
* dashSize: <float>,
|
|
|
* gapSize: <float>,
|
|
|
*
|
|
|
+ * blending: THREE.PremultipliedAlphaBlending,
|
|
|
+ * depthTest: <bool>,
|
|
|
+ * depthWrite: <bool>,
|
|
|
+ *
|
|
|
* vertexColors: THREE.NoColors / THREE.FaceColors / THREE.VertexColors
|
|
|
*
|
|
|
* fog: <bool>
|
|
@@ -35,6 +35,8 @@ THREE.LineDashedMaterial = function ( parameters ) {
|
|
|
this.dashSize = 3;
|
|
|
this.gapSize = 1;
|
|
|
|
|
|
+ this.blending = THREE.PremultipliedAlphaBlending;
|
|
|
+
|
|
|
this.vertexColors = THREE.NoColors;
|
|
|
|
|
|
this.fog = true;
|
|
@@ -51,7 +53,7 @@ THREE.LineDashedMaterial.prototype.copy = function ( source ) {
|
|
|
THREE.Material.prototype.copy.call( this, source );
|
|
|
|
|
|
this.color.copy( source.color );
|
|
|
-
|
|
|
+
|
|
|
this.linewidth = source.linewidth;
|
|
|
|
|
|
this.scale = source.scale;
|