Mesh:getTextureCoordinate: Difference between revisions

From GiderosMobile
No edit summary
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 13:31, 13 July 2023