{{newin (日本語)|[[0.9.0 (日本語)|0.9.0]]|090|type=列挙型}}

How a [[Mesh]]'s vertices are used when drawing.

== 定数 ==
;fan: The vertices create a "fan" shape with the first vertex acting as the hub point. Can be easily used to draw simple convex polygons.
;strip: The vertices create a series of connected triangles using vertices 1, 2, 3, then 3, 2, 4 (note the order), then 3, 4, 5, and so on.
;triangles: The vertices create unconnected triangles.
;points: The vertices are drawn as unconnected points (see [[love.graphics.setPointSize]].)

== 注釈 ==
If the  Mesh has a custom [[Mesh:setVertexMap|vertex map]], then that will determine the order in which the vertices are interpreted by the draw mode.

The vertex map can also be used to make the draw mode reuse vertices, for example if the Mesh has 4 vertices and is using the "triangles" draw mode, the vertex map could be set to {1, 2, 3,  1, 3, 4} to draw 2 triangles using only 4 vertices, effectively drawing a quad using triangles.

[[File:geometry_modes.png]]

== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.newMesh (日本語)]]
* [[parent::Mesh (日本語)]]

[[Category:Enums (日本語)]]
{{#set:Description=How a Mesh's vertices are used when drawing.}}
== そのほかの言語 ==
{{i18n (日本語)|MeshDrawMode}}