Difference between revisions of "Mesh:getVertex"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2013.06<br/>
 
'''Available since:''' Gideros 2013.06<br/>
 
=== Description ===
 
=== Description ===
Returns x and y coordinate of the i-th element from vertex array
+
<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 ===
 
=== Parameters ===
'''i''': (number) index <br/>
+
'''i''': (number) <translate>index</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) x coordinate of vertex<br/>
+
'''Returns''' (number) <translate>x coordinate of vertex</translate><br/>
'''Returns''' (number) y coordinate of vertex<br/>
+
'''Returns''' (number) <translate>y coordinate of vertex</translate><br/>

Revision as of 13:33, 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