瀏覽代碼

Documentation Geometry fixes (#8584)

* remove non existent property "dynamic"

* colorsNeedUpdate required for face3 color updates

* documents groupsNeedUpdate

* document areaWeighted parameter of method computeVertexNormals
aardgoose 9 年之前
父節點
當前提交
e5d0cc326a
共有 1 個文件被更改,包括 10 次插入9 次删除
  1. 10 9
      docs/api/core/Geometry.html

+ 10 - 9
docs/api/core/Geometry.html

@@ -150,13 +150,6 @@
 		<code>{ radius: float }</code>
 		</div>
 
-		<h3>[property:Boolean dynamic]</h3>
-		<div>
-		Set to *true* if attribute buffers will need to change in runtime (using "dirty" flags).<br/>
-		Unless set to true internal typed arrays corresponding to buffers will be deleted once sent to GPU.<br/>
-		Defaults to true.
-		</div>
-
 		<h3>[property:Boolean verticesNeedUpdate]</h3>
 		<div>
 		Set to *true* if the vertices array has been updated.
@@ -179,7 +172,12 @@
 
 		<h3>[property:Boolean colorsNeedUpdate]</h3>
 		<div>
-		Set to *true* if the colors array has been updated.
+		Set to *true* if the colors array or a face3 color has been updated.
+		</div>
+
+		<h3>[property:Boolean groupdsNeedUpdate]</h3>
+		<div>
+		Set to *true* if a face3 materialIndex has been updated.
 		</div>
 
 		<h3>[property:Boolean lineDistancesNeedUpdate]</h3>
@@ -252,7 +250,10 @@
 		Computes face normals.
 		</div>
 
-		<h3>[method:null computeVertexNormals]()</h3>
+		<h3>[method:null computeVertexNormals]( [page:Boolean areaWeighted] )</h3>
+		<div>
+		areaWeighted - If true the contributution of each face normal to the vertex normal is weighted by the area of the face. Default is true.
+		</div>
 		<div>
 		Computes vertex normals by averaging face normals.<br />
 		Face normals must be existing / computed beforehand.