Difference between revisions of "Mesh:getImage"

m (Added deprecation notice)
(Added oldin)
 
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
{{deprecatedin|[[0.9.1]]|091|type=function|text=This function will be removed in a future version. Use [[Mesh:getTexture]] instead}}
+
{{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