Difference between revisions of "Mesh:getVertexCount"
m (moved Geometry:getVertexCount to Mesh:getVertexCount: Geometry is dead, long live Geometry) |
(Geometry:getVertexCount -> Mesh:getVertexCount) |
||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function}} | {{newin|[[0.9.0]]|090|type=function}} | ||
− | + | Gets the total number of vertices in the Mesh. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | count = Mesh:getVertexCount( ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number| | + | {{param|number|count|The total number of vertices in the mesh.}} |
== See Also == | == See Also == | ||
− | * [[parent:: | + | * [[parent::Mesh]] |
+ | * [[Mesh:getVertex]] | ||
+ | * [[Mesh:setVertex]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets the total number of vertices in the Mesh.}} |
== Other Languages == | == Other Languages == | ||
− | {{i18n| | + | {{i18n|Mesh:getVertexCount}} |
Latest revision as of 16:07, 8 October 2013
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Gets the total number of vertices in the Mesh.
Function
Synopsis
count = Mesh:getVertexCount( )
Arguments
None.
Returns
number count
- The total number of vertices in the mesh.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info