Mesh:setVertexMap
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Sets the vertex map for a Geometry. The vertex map describes the order of the vertices when they are drawn.
The vertex map allows you to re-order or reuse vertices when drawing without changing the actual vertex parameters or duplicating vertices.
Function
Synopsis
Geometry:setVertexMap( vertex_map )
Arguments
table vertex_map
- A table containing a list of vertex indices to use when drawing. Values must be in the range of [1, Geometry:getVertexCount].
Returns
Nothing.
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