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:
867 bytes
|
Rev | Line | |
---|
[28897] | 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:Object3D] → [page:Light] →
|
---|
| 11 |
|
---|
| 12 | <h1>[name]</h1>
|
---|
| 13 |
|
---|
| 14 | <div class="desc">
|
---|
| 15 | This light's color gets applied to all the objects in the scene globally.
|
---|
| 16 | </div>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <h2>Example</h2>
|
---|
| 20 |
|
---|
| 21 | <code>var light = new THREE.AmbientLight( 0x404040 ); // soft white light
|
---|
| 22 | scene.add( light );</code>
|
---|
| 23 |
|
---|
| 24 | <h2>Constructor</h2>
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | <h3>[name]( [page:Integer hex] )</h3>
|
---|
| 28 | <div>
|
---|
| 29 | [page:Integer hex] â Numeric value of the RGB component of the color.
|
---|
| 30 | </div>
|
---|
| 31 | <div>
|
---|
| 32 | This creates an Ambientlight with a color.
|
---|
| 33 | </div>
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | <h2>Source</h2>
|
---|
| 37 |
|
---|
| 38 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
| 39 | </body>
|
---|
| 40 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.