Difference between revisions of "Mesh:getVertex"
m |
m (moved Geometry:getVertex to Mesh:getVertex) |
(No difference)
|
Revision as of 04:20, 10 October 2013
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, u, v, 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 u
- The u texture coordinate.
number v
- The v 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