{{newin|[[0.9.0]]|090|type=function}}
Sets the mode used when drawing the Mesh.

== Function ==
=== Synopsis ===
<source lang="lua">
Mesh:setDrawMode( mode )
</source>
=== Arguments ===
{{param|MeshDrawMode|mode|The mode to use when drawing the Mesh.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::Mesh]]
* [[Mesh:getDrawMode]]

[[Category:Functions]]
{{#set:Description=Sets the mode used when drawing the Mesh.}}
== Other Languages ==
{{i18n|Mesh:setDrawMode}}