浏览代码

Filled in TODOs

Greg Tatum 11 年之前
父节点
当前提交
8889186e97

+ 5 - 5
docs/api/materials/MeshBasicMaterial.html

@@ -30,11 +30,11 @@
 		shading — Define shading type. Default is THREE.SmoothShading.<br />
 		vertexColors — Define whether the material uses vertex colors, or not. Default is false.<br />
 		fog — Define whether the material color is affected by global fog settings. Default is true.<br />
-		lightMap — TODO. Default is null.<br />
-		specularMap — TODO. Default is null.<br />
-		envMap — TODO. Default is null.<br />
-		skinning — TODO. Default is false.<br />
-		morphTargets — TODO. Default is false.
+		lightMap — Set light map. Default is null.<br />
+		specularMap — Set specular map. Default is null.<br />
+		envMap — Set env map. Default is null.<br />
+		skinning — Define whether the material uses skinning. Default is false.<br />
+		morphTargets — Define whether the material uses morphTargets. Default is false.
 		</div>
 
 		<h2>Properties</h2>

+ 10 - 12
docs/api/materials/MeshDepthMaterial.html

@@ -11,35 +11,33 @@
 
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
-
+		<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>
 
 		<h2>Constructor</h2>
 
 
 		<h3>[name]([page:todo parameters])</h3>
 		<div>
-		parameters -- todo
+		parameters is an object with one or more properties defining the material's appearance. 
 		</div>
 		<div>
-		todo
+		wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).<br/>
+		wireframeLinewidth -- Controls wireframe thickness. Default is 1.<br/>
 		</div>
 
 
 		<h2>Properties</h2>
 
 
-
-		<h3>.[page:number wireframeLinewidth]</h3>
-		<div>
-		todo
-		</div> 
-
 		<h3>.[page:boolean wireframe]</h3>
+		<div>Render geometry as wireframe. Default is false (i.e. render as smooth shaded).</div> 
+		
+		<h3>.[page:number wireframeLinewidth]</h3>
 		<div>
-		todo
+			Controls wireframe thickness. Default is 1.<br/><br/>
+			Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
 		</div> 
-
+		
 		<h2>Methods</h2>
 
 

+ 17 - 13
docs/api/materials/MeshNormalMaterial.html

@@ -11,7 +11,7 @@
 
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">A material that maps the normal vectors to RGB colors.</div>
 
 
 		<h2>Constructor</h2>
@@ -19,10 +19,13 @@
 
 		<h3>[name]([page:todo parameters])</h3>
 		<div>
-		parameters -- todo
+		parameters is an object with one or more properties defining the material's appearance. 
 		</div>
 		<div>
-		todo
+		morphTargets -- Define whether the material uses morphTargets. Default is false.<br/>
+		shading --  How the triangles of a curved surface are rendered. Default is THREE.SmoothShading.<br/>
+		wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).<br/>
+		wireframeLinewidth -- Controls wireframe thickness. Default is 1.<br/>
 		</div>
 
 
@@ -31,23 +34,24 @@
 
 
 		<h3>.[page:boolean morphTargets]</h3>
-		<div>
-		todo
-		</div> 
+		<div>Define whether the material uses morphTargets. Default is false.</div> 
 
 		<h3>.[page:number shading]</h3>
 		<div>
-		todo
-		</div> 
+			How the triangles of a curved surface are rendered: as a smooth surface, as flat separate facets, or no shading at all.<br/><br/>
+			Options are THREE.SmoothShading (default), THREE.FlatShading
+		</div>
+		
 
-		<h3>.[page:number wireframeLinewidth]</h3>
+		<h3>.[page:boolean wireframe]</h3>
 		<div>
-		todo
+			Render geometry as wireframe. Default is false (i.e. render as smooth shaded). 
 		</div> 
-
-		<h3>.[page:boolean wireframe]</h3>
+		
+		<h3>.[page:number wireframeLinewidth]</h3>
 		<div>
-		todo
+			Controls wireframe thickness. Default is 1.<br/><br/>
+			Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
 		</div> 
 
 		<h2>Methods</h2>