Difference between revisions of "love.graphics.isWireframe"

(Created page)
 
(Moved)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.1]]|091|type=function}}
 
{{newin|[[0.9.1]]|091|type=function}}
Gets whether wireframe mode is used when drawing the Mesh.
+
Gets whether wireframe mode is used when drawing.
  
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
wireframe = Mesh:isWireframe( )
+
wireframe = love.graphics.isWireframe( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|boolean|wireframe|True if wireframe lines are used when drawing the Mesh, false if it's not.}}
+
{{param|boolean|wireframe|True if wireframe lines are used when drawing, false if it's not.}}
  
 
== See Also ==
 
== See Also ==
* [[parent::Mesh]]
+
* [[parent::love.graphics]]
* [[Mesh:setWireframe]]
+
* [[love.graphics.setWireframe]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets whether wireframe mode is used when drawing the Mesh.}}
+
{{#set:Description=Gets whether wireframe mode is used when drawing.}}
 +
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|Mesh:isWireframe}}
+
{{i18n|love.graphics.isWireframe}}

Latest revision as of 22:13, 5 February 2014

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

Gets whether wireframe mode is used when drawing.

Function

Synopsis

wireframe = love.graphics.isWireframe( )

Arguments

None.

Returns

boolean wireframe
True if wireframe lines are used when drawing, false if it's not.

See Also


Other Languages