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.2 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 | <h1>[name]</h1>
|
---|
11 |
|
---|
12 | <div class="desc">This class contains the parameters that define exponential fog, i.e., that grows exponentially denser with the distance.</div>
|
---|
13 |
|
---|
14 |
|
---|
15 | <h2>Constructor</h2>
|
---|
16 |
|
---|
17 |
|
---|
18 | <h3>[name]( [page:Integer hex], [page:Float density])</h3>
|
---|
19 |
|
---|
20 | <div>The hex parameter is passed to the [page:Color] constructor to set the color property. Hex can be a hexadecimal integer or a CSS-style string.</div>
|
---|
21 | <h2>Properties</h2>
|
---|
22 |
|
---|
23 | <h3>.[page:String name]</h3>
|
---|
24 | <div>Default is the empty string.</div>
|
---|
25 |
|
---|
26 | <h3>.[page:Color color]</h3>
|
---|
27 | <div>Fog color. Example: If set to black, far away objects will be rendered black.</div>
|
---|
28 |
|
---|
29 | <h3>.[page:Float density]</h3>
|
---|
30 | <div>Defines how fast the fog will grow dense.</div>
|
---|
31 | <div>Default is 0.00025.</div>
|
---|
32 |
|
---|
33 | <h2>Methods</h2>
|
---|
34 |
|
---|
35 | <h3>.clone() [page:FogExp2]</h3>
|
---|
36 | <div>Returns a copy of this.</div>
|
---|
37 |
|
---|
38 |
|
---|
39 | <h2>Source</h2>
|
---|
40 |
|
---|
41 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
42 | </body>
|
---|
43 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.