source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/materials/LineBasicMaterial.html@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 2.8 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <script src="../../list.js"></script>
6 <script src="../../page.js"></script>
7 <link type="text/css" rel="stylesheet" href="../../page.css" />
8 </head>
9 <body>
10 [page:Material] &rarr;
11
12 <h1>[name]</h1>
13
14 <div class="desc">A material for drawing wireframe-style geometries.</div>
15
16
17 <h2>Constructor</h2>
18
19
20 <h3>[name]( [page:Object parameters] )</h3>
21
22 <div>parameters is an object with one or more properties defining the material's appearance.</div>
23 <div>
24 color — Line color in hexadecimal. Default is 0xffffff.<br />
25 linewidth — Line thickness. Default is 1.<br />
26 linecap — Define appearance of line ends. Default is 'round'.<br />
27 linejoin — Define appearance of line joints. Default is 'round'.<br />
28 vertexColors — Define how the vertices gets colored. Default is THREE.NoColors.<br />
29 fog — Define whether the material color is affected by global fog settings. Default is false.
30 </div>
31
32 <h2>Properties</h2>
33
34 <h3>.[page:Integer color]</h3>
35 <div>Sets the color of the line. Default is 0xffffff.</div>
36
37 <h3>.[page:Float linewidth]</h3>
38 <div>Controls line thickness. Default is 1.</div>
39 <div>Due to limitations in the <a href="https://code.google.com/p/angleproject/" target="_blank">ANGLE layer</a>, on Windows platforms linewidth will always be 1 regardless of the set value.</div>
40
41 <h3>.[page:String linecap]</h3>
42 <div>Define appearance of line ends. Possible values are "butt", "round" and "square". Default is 'round'.</div>
43 <div>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.</div>
44
45 <h3>.[page:String linejoin]</h3>
46 <div>Define appearance of line joints. Possible values are "round", "bevel" and "miter". Default is 'round'.</div>
47 <div>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.</div>
48
49 <h3>.[page:Integer vertexColors]</h3>
50 <div>Define how the vertices gets colored. Possible values are THREE.NoColors, THREE.FaceColors and THREE.VertexColors. Default is THREE.NoColors.</div>
51 <div>This setting might not have any effect when used with certain renderers.</div>
52
53 <h3>.[page:Boolean fog]</h3>
54 <div>Define whether the material color is affected by global fog settings.</div>
55 <div>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.</div>
56
57
58 <h2>Source</h2>
59
60 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
61 </body>
62</html>
Note: See TracBrowser for help on using the repository browser.