|
@@ -7,20 +7,43 @@
|
|
|
<link type="text/css" rel="stylesheet" href="../../page.css" />
|
|
|
</head>
|
|
|
<body>
|
|
|
- <h1>[name]</h1>
|
|
|
+ [page:Object3D] → [page:Light] →
|
|
|
|
|
|
- <div class="desc">todo</div>
|
|
|
+ <h1>[name]</h1>
|
|
|
|
|
|
+ <div class="desc">A light source positioned directly above the scene.</div>
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
- <h3>[name]()</h3>
|
|
|
+ <h3>[name]( [page:Float hex], [page:Float hex], [page:Float intensity] )</h3>
|
|
|
|
|
|
+ <div>
|
|
|
+ [page:Integer hex] — Numeric value of the RGB sky color.<br />
|
|
|
+ [page:Integer hex] — Numeric value of the RGB ground color.<br />
|
|
|
+ [page:Integer intensity] — The intensity of the light.
|
|
|
+ </div>
|
|
|
|
|
|
<h2>Properties</h2>
|
|
|
|
|
|
- <h3>.[page:Vector3 todo]</h3>
|
|
|
+ <h3>.[page:Float groundColor]</h3>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ Light's ground color.<br />
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.[page:Vec3 position]</h3>
|
|
|
|
|
|
+ <div>
|
|
|
+ Light's position.<br />
|
|
|
+ Default — *(0, 100, 0)*.
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.[page:Float intensity]</h3>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ Light's intensity.<br />
|
|
|
+ Default — *1*.
|
|
|
+ </div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
|
@@ -29,7 +52,6 @@
|
|
|
todo — todo<br />
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
<h2>Source</h2>
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|