Difference between revisions of "Mesh:getTextureCoordinate"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
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>
 
</source>

Revision as of 15:28, 13 July 2023