Mesh:getVertex
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Returns vertex information from the geometry.
Function
Synopsis
x, y, s, t, r, g, b, a = Geometry:getVertex( i )
Arguments
number i
- The index of the the vertex you want to retrieve the information for.
Returns
number x
- The x vertex coordinate.
number y
- The y vertex coordinate.
number s
- The s texture coordinate.
number t
- The t texture coordinate.
number r
- The red color component.
number g
- The green color component.
number b
- The blue color component.
number a
- The alpha color component.
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