12
12
13
13
< h1 > [name]</ h1 >
14
14
15
- < div class ="desc "> A material for drawing wireframe-style geometries.</ div >
15
+ < p class ="desc "> A material for drawing wireframe-style geometries.</ p >
16
16
17
17
< h2 > Examples</ h2 >
18
18
19
- < div >
19
+ < p >
20
20
[example:webgl_buffergeometry_drawcalls WebGL / buffergeometry / drawcalls]< br />
21
21
[example:webgl_buffergeometry_lines WebGL / buffergeometry / lines]< br />
22
22
[example:webgl_buffergeometry_lines_indexed WebGL / buffergeometry / lines / indexed]< br />
@@ -32,7 +32,7 @@ <h2>Examples</h2>
32
32
[example:webgl_lines_splines WebGL / lines / splines]< br />
33
33
[example:webgl_materials WebGL / materials]< br />
34
34
[example:webgl_physics_rope WebGL / phyics / rope]
35
- </ div >
35
+ </ p >
36
36
37
37
< code >
38
38
var material = new THREE.LineBasicMaterial( {
@@ -47,59 +47,59 @@ <h2>Constructor</h2>
47
47
48
48
< h3 > [name]( [param:Object parameters] )</ h3 >
49
49
50
- < div >
50
+ < p >
51
51
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
52
52
Any property of the material (including any property inherited from [page:Material]) can be passed in here.< br /> < br />
53
53
54
54
The exception is the property [page:Hexadecimal color], which can be passed in as a hexadecimal
55
55
string and is *0xffffff* (white) by default. [page:Color.set]( color ) is called internally.
56
- </ div >
56
+ </ p >
57
57
58
58
< h2 > Properties</ h2 >
59
- < div > See the base [page:Material] class for common properties.</ div >
59
+ < p > See the base [page:Material] class for common properties.</ p >
60
60
61
61
< h3 > [property:Color color]</ h3 >
62
- < div > [page:Color] of the material, by default set to white (0xffffff).</ div >
62
+ < p > [page:Color] of the material, by default set to white (0xffffff).</ p >
63
63
64
64
< h3 > [property:Boolean isLineBasicMaterial]</ h3 >
65
- < div >
65
+ < p >
66
66
Used to check whether this or derived classes are line basic materials. Default is *true*.< br /> < br />
67
67
68
68
You should not change this, as it used internally for optimisation.
69
- </ div >
69
+ </ p >
70
70
71
71
< h3 > [property:Boolean lights]</ h3 >
72
- < div > Whether the material is affected by lights. Default is *false*.</ div >
72
+ < p > Whether the material is affected by lights. Default is *false*.</ p >
73
73
74
74
< h3 > [property:Float linewidth]</ h3 >
75
- < div >
75
+ < p >
76
76
Controls line thickness. Default is *1*.< br /> < br />
77
77
78
78
Due to limitations in the [link:https://code.google.com/p/angleproject ANGLE layer],
79
79
with the [page:WebGLRenderer WebGL] renderer on Windows platforms linewidth will
80
80
always be 1 regardless of the set value.
81
- </ div >
81
+ </ p >
82
82
83
83
< h3 > [property:String linecap]</ h3 >
84
- < div >
84
+ < p >
85
85
Define appearance of line ends. Possible values are 'butt', 'round' and 'square'.
86
86
Default is 'round'.< br /> < br />
87
87
88
88
This corresponds to the [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap 2D Canvas lineCap]
89
89
property and it is ignored by the [page:WebGLRenderer WebGL] renderer.
90
- </ div >
90
+ </ p >
91
91
92
92
< h3 > [property:String linejoin]</ h3 >
93
- < div >
93
+ < p >
94
94
Define appearance of line joints. Possible values are 'round', 'bevel' and 'miter'. Default is 'round'. < br /> < br />
95
95
96
96
This corresponds to the [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineJoin 2D Canvas lineJoin]
97
97
property and it is ignored by the [page:WebGLRenderer WebGL] renderer.
98
- </ div >
98
+ </ p >
99
99
100
100
101
101
< h2 > Methods</ h2 >
102
- < div > See the base [page:Material] class for common methods.</ div >
102
+ < p > See the base [page:Material] class for common methods.</ p >
103
103
104
104
< h2 > Source</ h2 >
105
105
0 commit comments