Difference between revisions of "Mesh:getVertex"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2013.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2013.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Returns x and y coordinate of the i-th element from vertex array</translate> | <translate>Returns x and y coordinate of the i-th element from vertex array</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
(number), (number) = Mesh:getVertex(i) | (number), (number) = Mesh:getVertex(i) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''i''': (number) <translate>index</translate> <br/> | '''i''': (number) <translate>index</translate> <br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>x coordinate of vertex</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>x coordinate of vertex</translate><br/> |
− | '''Returns''' (number) <translate>y coordinate of vertex</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>y coordinate of vertex</translate><br/> |
Revision as of 07:28, 24 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