浏览代码

Merge remote-tracking branch 'tmcw/docs' into dev

Mr.doob 12 年之前
父节点
当前提交
ac98fe6720
共有 1 个文件被更改,包括 27 次插入5 次删除
  1. 27 5
      docs/api/lights/HemisphereLight.html

+ 27 - 5
docs/api/lights/HemisphereLight.html

@@ -7,20 +7,43 @@
 		<link type="text/css" rel="stylesheet" href="../../page.css" />
 	</head>
 	<body>
-		<h1>[name]</h1>
+        [page:Object3D] &rarr; [page:Light] &rarr;
 
-		<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]