{{newin (日本語)|[[0.9.1 (日本語)|0.9.1]]|091|type=関数}}
Restricts the drawn vertices of the Mesh to a subset of the total.

== 関数 ==
{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=異形}}
=== 概要 ===
<source lang="lua">
Mesh:setDrawRange( start, count )
</source>
=== 引数 ===
{{param (日本語)|number|start|The index of the first vertex to use when drawing, or the index of the first value in the vertex map to use if one is set for this Mesh.}}
{{param (日本語)|number|count|The number of vertices to use when drawing, or number of values in the vertex map to use if one is set for this Mesh.}}
=== 返値 ===
ありません。

== 関数 ==
Allows all vertices in the Mesh to be drawn.
=== 概要 ===
<source lang="lua">
Mesh:setDrawRange( )
</source>
=== 引数 ===
なし。
=== 返値 ===
ありません。

== 関数 ==
{{oldin (日本語)|[[11.0 (日本語)|11.0]]|110|type=異形}}
=== 概要 ===
<source lang="lua">
Mesh:setDrawRange( min, max )
</source>
=== 引数 ===
{{param (日本語)|number|min|The index of the first vertex to use when drawing, or the index of the first value in the vertex map to use if one is set for this Mesh.}}
{{param (日本語)|number|max|The index of the last vertex to use when drawing, or the index of the last value in the vertex map to use if one is set for this Mesh.}}
=== 返値 ===
ありません。

== 注釈 ==
If a [[Mesh:setVertexMap|vertex map]] is used with the Mesh, this method will set a subset of the values in the vertex map array to use, instead of a subset of the total vertices in the Mesh.

For example, if <code>Mesh:setVertexMap(1, 2, 3, 1, 3, 4)</code> and <code>Mesh:setDrawRange(4, 2)</code> are called, vertices 1, 3, and 4 will be drawn.

== 関連 ==
* [[parent::Mesh (日本語)]]
* [[Mesh:getDrawRange (日本語)]]
* [[love.graphics.draw (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Restricts the drawn vertices of the Mesh to a subset of the total.}}
== そのほかの言語 ==
{{i18n (日本語)|Mesh:setDrawRange}}