Difference between revisions of "love.graphics.setWireframe"

(Moved)
m
 
Line 2: Line 2:
 
Sets whether wireframe lines will be used when drawing.
 
Sets whether wireframe lines will be used when drawing.
  
 +
{{notice|This function does nothing on mobile devices and other systems which use OpenGL ES 2.}}
 
{{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.}}
 
{{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.}}
  

Latest revision as of 18:25, 27 December 2015

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

Sets whether wireframe lines will be used when drawing.

O.png This function does nothing on mobile devices and other systems which use OpenGL ES 2.  


O.png 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

love.graphics.setWireframe( enable )

Arguments

boolean enable
True to enable wireframe mode when drawing, false to disable it.

Returns

Nothing.

See Also


Other Languages