Difference between revisions of "Mesh:getVertex"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2013.06<br/>
 
'''Available since:''' Gideros 2013.06<br/>
 +
'''Class:''' [[Mesh]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>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 the vertex array.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Mesh:getVertex(i)
 
(number), (number) = Mesh:getVertex(i)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) <translate>index</translate> <br/>
+
'''i''': (number) index<br/>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>x coordinate of vertex</translate><br/>
+
'''Returns''' (number) x coordinate of vertex<br/>
'''Returns''' (number) <translate>y coordinate of vertex</translate><br/>
+
'''Returns''' (number) y coordinate of vertex<br/>
 +
 
 +
{{Mesh}}

Latest revision as of 14:30, 13 July 2023