Mesh:getDrawRange
EditReturns the range of vertices drawn by the Mesh. If different sets of mesh data are stored in a single Mesh object, the draw range can be used to select different sets of vertices to render.
Arguments
None
Returns
Name | Type | Description |
start | number | The index of the first vertex that will be drawn (or the first index, if the Mesh has vertex indices). |
count | number | The number of vertices that will be drawn (or indices, if the Mesh has vertex indices). |
offset | number | When the Mesh has vertex indices, an offset that will be added to the index values before fetching the corresponding vertex. This is ignored if the Mesh does not have vertex indices. |
This function returns nothing if no draw range is set.
Arguments
None
Returns
Nothing