瀏覽代碼

Docs: Clarify BufferGeometry.groups. (#23740)

* Docs: Clarify BufferGeometry.groups.

* Docs: More updates to BufferGeometry.groups.

* Docs: Improve BufferGeometry.groups description.
Michael Herzog 3 年之前
父節點
當前提交
5b5d64f78d
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      docs/api/en/core/BufferGeometry.html

+ 4 - 2
docs/api/en/core/BufferGeometry.html

@@ -92,7 +92,7 @@
 		<h3>[property:Array groups]</h3>
 		<p>
 			Split the geometry into groups, each of which will be rendered in a separate WebGL draw call.
-			This allows an array of materials to be used with the bufferGeometry.<br /><br />
+			This allows an array of materials to be used with the geometry.<br /><br />
 
 			Each group is an object of the form:
 			<code>{ start: Integer, count: Integer, materialIndex: Integer }</code>
@@ -100,7 +100,9 @@
 			otherwise the first triangle index. Count specifies how many vertices (or indices) are included, and
 			materialIndex specifies the material array index to use.<br /><br />
 
-			Use [page:.addGroup] to add groups, rather than modifying this array directly.
+			Use [page:.addGroup] to add groups, rather than modifying this array directly.<br /><br />
+
+			Every vertex and index must belong to exactly one group — groups must not share vertices or indices, and must not leave vertices or indices unused.
 		</p>