DashedLineMaterial
new DashedLineMaterial({ color?, linewidth?, dashSize?, gapSize?, layer?, opacity?, transparent?, depthTest?, depthWrite? })THREE equivalent: THREE.LineDashedMaterial
Dashed variant of LineMaterial. Alternates between visible dashes and gaps along each line segment.
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
color |
Color |
Line color. Default 0xffffff. |
linewidth |
number |
Line width in pixels. Default 1. |
dashSize |
number |
Length of each visible dash. Default 3. |
gapSize |
number |
Length of each gap between dashes. Default 1. |