Difference between revisions of "Mesh:getImage"

(Created page)
 
(Added oldin)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
 +
{{oldin|[[0.10.0]]|100|type=function|text=Use [[Mesh:getTexture]] instead}}
 
Gets the [[Image]] used when drawing the Mesh.
 
Gets the [[Image]] used when drawing the Mesh.
  

Latest revision as of 03:02, 17 December 2015

Available since LÖVE 0.9.0
This function is not supported in earlier versions.
Removed in LÖVE 0.10.0
Use Mesh:getTexture instead.

Gets the Image used when drawing the Mesh.

Function

Synopsis

image = Mesh:getImage( )

Arguments

None.

Returns

Image image (nil)
The Image used to texture the Mesh when drawing. May be nil if no Image is being used with the Mesh.

See Also

Other Languages