Difference between revisions of "Mesh:getInstanceCount"

(Created page)
 
m
Line 1: Line 1:
{{newin|[[0.9.1]]|091|type=function}}
+
{{newin|[[0.10.0]]|100|type=function}}
 
Gets how many [[Mesh:setInstanceCount|instances]] of this Mesh will be drawn at once.
 
Gets how many [[Mesh:setInstanceCount|instances]] of this Mesh will be drawn at once.
  

Revision as of 19:35, 29 March 2014

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

Gets how many instances of this Mesh will be drawn at once.

Function

Synopsis

count = Mesh:getInstanceCount( )

Arguments

None.

Returns

number count
The number of individual instances of this Mesh that will be drawn with love.graphics.draw.

See Also

Other Languages