Difference between revisions of "Mesh:getVertex"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2013.06<br/> === Description === Returns x and y coordinate of the i-th element from vertex array <source lang="lua"> (number) (number...")
 
Line 4: Line 4:
 
Returns x and y coordinate of the i-th element from vertex array
 
Returns x and y coordinate of the i-th element from vertex array
 
<source lang="lua">
 
<source lang="lua">
(number) (number), = Mesh:getVertex(i,)
+
(number), (number) = Mesh:getVertex(i)
 
</source>
 
</source>
'''i:''' (number) index ''''''<br/>
+
'''i''': (number) index ''''''<br/>
 
'''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:20, 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)

'i: (number) index '
Returns (number) x coordinate of vertex
Returns (number) y coordinate of vertex