Difference between revisions of "Mesh:getImage"

(Created page)
 
m (Added deprecation notice)
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}}
 
Gets the [[Image]] used when drawing the Mesh.
 
Gets the [[Image]] used when drawing the Mesh.
  

Revision as of 23:19, 28 July 2014

Available since LÖVE 0.9.0
This function is not supported in earlier versions.
Deprecated in LÖVE 0.9.1
This function will be removed in a future version. 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