Difference between revisions of "Mesh:setVertex"
(Created page with "{{newin|0.9.0|090|type=function}} Sets the vertex information for a geometry. == Function == === Synopsis === <source lang="lua"> Geometry:setVertex( i, x, y, u, v, r, g, b,...") |
m (moved Geometry:setVertex to Mesh:setVertex) |
(No difference)
|
Revision as of 04:28, 10 October 2013
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Sets the vertex information for a geometry.
Function
Synopsis
Geometry:setVertex( i, x, y, u, v, r, g, b, a )
Arguments
number i
- The index of the the vertex you want to alter the information for.
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 (255)
- The red color component.
number g (255)
- The green color component.
number b (255)
- The blue color component.
number a (255)
- The alpha color component.
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