Difference between revisions of "Mesh:getVertex"

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

Latest revision as of 14:30, 13 July 2023