ChainShape:getVertexCount

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

Returns the number of vertices the shape has.

Function

Synopsis

count = ChainShape:getVertexCount( )

Arguments

None.

Returns

number count
The number of vertices.

See Also


Other Languages