LineMaterial
new LineMaterial({ color?, linewidth?, layer?, opacity?, transparent?, depthTest?, depthWrite? })THREE equivalent: THREE.LineBasicMaterial
Material for Line, LineSegments, and LineLoop objects. Rendered via Bresenham integer line rasterization.
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
color |
Color |
Line color. Default 0xffffff. |
linewidth |
number |
Line width in pixels. Default 1. |