Difference between revisions of "Mesh:getDrawMode"

 
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
Gets the mode used when drawing the Geometry.
+
Gets the mode used when drawing the Mesh.
  
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
mode = Geometry:getDrawMode( )
+
mode = Mesh:getDrawMode( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|GeometryDrawMode|mode|The mode used when drawing the Geometry.}}
+
{{param|MeshDrawMode|mode|The mode used when drawing the Mesh.}}
  
 
== See Also ==
 
== See Also ==
* [[parent::Geometry]]
+
* [[parent::Mesh]]
* [[love.graphics.newGeometry]]
+
* [[love.graphics.newMesh]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the mode used when drawing the Geometry.}}
+
{{#set:Description=Gets the mode used when drawing the Mesh.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|Geometry:getDrawMode}}
+
{{i18n|Mesh:getDrawMode}}

Latest revision as of 16:21, 8 October 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the mode used when drawing the Mesh.

Function

Synopsis

mode = Mesh:getDrawMode( )

Arguments

None.

Returns

MeshDrawMode mode
The mode used when drawing the Mesh.

See Also

Other Languages