Difference between revisions of "Mesh:getVertex"
From GiderosMobile
Line 6: | Line 6: | ||
(number), (number) = Mesh:getVertex(i) | (number), (number) = Mesh:getVertex(i) | ||
</source> | </source> | ||
− | '''i''': (number) index | + | === Parameters === |
+ | '''i''': (number) index <br/> | ||
+ | === Return values === | ||
'''Returns''' (number) x coordinate of vertex<br/> | '''Returns''' (number) x coordinate of vertex<br/> | ||
'''Returns''' (number) y coordinate of vertex<br/> | '''Returns''' (number) y coordinate of vertex<br/> |
Revision as of 10:45, 23 August 2018
Available since: Gideros 2013.06
Description
Returns x and y coordinate of the i-th element from vertex array
(number), (number) = Mesh:getVertex(i)
Parameters
i: (number) index
Return values
Returns (number) x coordinate of vertex
Returns (number) y coordinate of vertex