Difference between revisions of "Mesh:getVertexCount"

(Created page with "{{newin|0.9.0|090|type=function}} Returns the total number of vertices in the geometry. == Function == === Synopsis === <source lang="lua"> num = Geometry:getVertexCount( )...")
 
m
Line 5: Line 5:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
num = Geometry:getVertexCount( )
+
num = Geometry:getVertexCount( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Revision as of 22:13, 16 August 2013

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

Returns the total number of vertices in the geometry.

Function

Synopsis

num = Geometry:getVertexCount( )

Arguments

None.

Returns

number num
The total number of vertices in this geometry.

See Also

Other Languages