Difference between revisions of "Mesh:getTextureCoordinate"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the u and v coordinate of the i-th element from the texture coordinate array.
 
Returns the u and v coordinate of the i-th element from the texture coordinate array.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Mesh:getTextureCoordinate(i)
 
(number), (number) = Mesh:getTextureCoordinate(i)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:31, 13 July 2023