Skip to content

Commit 214ed20

Browse files
authored
Merge pull request #15192 from WestLangley/dev-buffergeometry_docs
BufferGeometry docs: clarification
2 parents 632e5cf + 3b15834 commit 214ed20

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/api/en/core/BufferGeometry.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,13 @@ <h3>[property:Sphere boundingSphere]</h3>
119119

120120
<h3>[property:Object drawRange]</h3>
121121
<p>
122-
Used to determine what part of the geometry should be rendered. This should not
123-
be set directly, instead use [page:.setDrawRange].<br />
124-
Default is
122+
Determines the part of the geometry to render. This should not
123+
be set directly, instead use [page:.setDrawRange]. Default is
125124
<code>
126125
{ start: 0, count: Infinity }
127126
</code>
127+
For non-indexed BufferGeometry, count is the number of vertices to render.
128+
For indexed BufferGeometry, count is the number of indices to render.
128129
</p>
129130

130131
<h3>[property:Array groups]</h3>
@@ -316,7 +317,8 @@ <h3>[method:null setIndex] ( [param:BufferAttribute index] )</h3>
316317
<p>Set the [page:.index] buffer.</p>
317318

318319
<h3>[method:null setDrawRange] ( [param:Integer start], [param:Integer count] )</h3>
319-
<p>Set the [page:.drawRange] buffer. See that property for details.</p>
320+
<p>Set the [page:.drawRange] property. For non-indexed BufferGeometry, count is the number of vertices to render.
321+
For indexed BufferGeometry, count is the number of indices to render.</p>
320322

321323
<h3>[method:BufferGeometry setFromObject] ( [param:Object3D object] )</h3>
322324
<p>Sets the attributes for this BufferGeometry from an [page:Object3D].</p>

0 commit comments

Comments
 (0)