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:
1.3 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] →
|
---|
11 |
|
---|
12 | <h1>[name]</h1>
|
---|
13 |
|
---|
14 | <div class="desc">A material for drawing geometry by depth. Depth is based off of the camera near and far plane. White is nearest, black is farthest.</div>
|
---|
15 |
|
---|
16 | <h2>Constructor</h2>
|
---|
17 |
|
---|
18 |
|
---|
19 | <h3>[name]([page:todo parameters])</h3>
|
---|
20 | <div>
|
---|
21 | parameters is an object with one or more properties defining the material's appearance.
|
---|
22 | </div>
|
---|
23 | <div>
|
---|
24 | wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).<br/>
|
---|
25 | wireframeLinewidth -- Controls wireframe thickness. Default is 1.<br/>
|
---|
26 | </div>
|
---|
27 |
|
---|
28 |
|
---|
29 | <h2>Properties</h2>
|
---|
30 |
|
---|
31 |
|
---|
32 | <h3>.[page:boolean wireframe]</h3>
|
---|
33 | <div>Render geometry as wireframe. Default is false (i.e. render as smooth shaded).</div>
|
---|
34 |
|
---|
35 | <h3>.[page:number wireframeLinewidth]</h3>
|
---|
36 | <div>
|
---|
37 | Controls wireframe thickness. Default is 1.<br/><br/>
|
---|
38 | Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
|
---|
39 | </div>
|
---|
40 |
|
---|
41 | <h2>Methods</h2>
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 | <h2>Source</h2>
|
---|
46 |
|
---|
47 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
48 | </body>
|
---|
49 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.