[page:Material] →

# [name]

A material for drawing wireframe-style geometries.

## Constructor

### [name]( [page:Object parameters] )

parameters is an object with one or more properties defining the material's appearance.
color — Line color in hexadecimal. Default is 0xffffff.
linewidth — Line thickness. Default is 1.
linecap — Define appearance of line ends. Default is 'round'.
linejoin — Define appearance of line joints. Default is 'round'.
vertexColors — Define whether the material uses vertex colors, or not. Default is false.
fog — Define whether the material color is affected by global fog settings. Default is false.

## Properties

### .[page:Integer color]

Sets the color of the line. Default is 0xffffff.

### .[page:Float linewidth]

Controls line thickness. Default is 1.

### .[page:String linecap]

Define appearance of line ends. Possible values are "butt", "round" and "square". Default is 'round'.
This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:WebGLRenderer WebGL] renderer, but does work with the [page:CanvasRenderer Canvas] renderer.

### .[page:String linejoin]

Define appearance of line joints. Possible values are "round", "bevel" and "miter". Default is 'round'.
This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:WebGLRenderer WebGL] renderer, but does work with the [page:CanvasRenderer Canvas] renderer.

### .[page:Boolean vertexColors]

Define whether the material uses vertex colors, or not. Default is false.
This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.

### .[page:Boolean fog]

Define whether the material color is affected by global fog settings.
This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]