Difference between revisions of "love.graphics.isWireframe"
m (moved Mesh:isWireframe to love.graphics.isWireframe: Moved) |
(Moved) |
||
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 | + | Gets whether wireframe mode is used when drawing. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | wireframe = | + | wireframe = love.graphics.isWireframe( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|boolean|wireframe|True if wireframe lines are used when drawing | + | {{param|boolean|wireframe|True if wireframe lines are used when drawing, false if it's not.}} |
== See Also == | == See Also == | ||
− | * [[parent:: | + | * [[parent::love.graphics]] |
− | * [[ | + | * [[love.graphics.setWireframe]] |
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Gets whether wireframe mode is used when drawing | + | {{#set:Description=Gets whether wireframe mode is used when drawing.}} |
+ | {{#set:Sub-Category=State}} | ||
== Other Languages == | == Other Languages == | ||
− | {{i18n| | + | {{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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info