Difference between revisions of "love.graphics.setWireframe"
(Created page) |
m |
||
Line 2: | Line 2: | ||
Sets whether the Mesh will be drawn using wireframe lines. | Sets whether the Mesh will be drawn using wireframe lines. | ||
− | {{notice|Wireframe mode should only be used for debugging. The lines drawn with it enabled do not behave like regular love.graphics lines: | + | {{notice|Wireframe mode should only be used for debugging. The lines drawn with it enabled do not behave like regular love.graphics lines: their widths don't scale with the coordinate transformations or with [[love.graphics.setLineWidth]], and they don't use the smooth LineStyle.}} |
== Function == | == Function == |
Revision as of 00:46, 1 February 2014
Available since LÖVE 0.9.1 |
This function is not supported in earlier versions. |
Sets whether the Mesh will be drawn using wireframe lines.
Wireframe mode should only be used for debugging. The lines drawn with it enabled do not behave like regular love.graphics lines: their widths don't scale with the coordinate transformations or with love.graphics.setLineWidth, and they don't use the smooth LineStyle. |
Function
Synopsis
Mesh:setWireframe( enable )
Arguments
boolean enable
- True to enable wireframe mode when drawing the Mesh, false to disable it.
Returns
Nothing.
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