Difference between revisions of "Mesh:getVertex"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 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 ===
Returns x and y coordinate of the i-th element from vertex array
+
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>
'''i''': (number) index ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''i''': (number) index<br/>
 +
 
 +
=== Return values ===
 
'''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/>
 +
 +
{{Mesh}}

Latest revision as of 14:30, 13 July 2023