Difference between revisions of "Mesh:setTextureCoordinate"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Sets a texture coordinate at texture coordinate array. Indices are start from 1. If the textur...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Mesh:setTextureCoordinate(i,u,v) | |
</source> | </source> | ||
− | '''i | + | '''i''': (number) index ''''''<br/> |
− | '''u | + | '''u''': (number) u coordinate ''''''<br/> |
− | '''v | + | '''v''': (number) v coordinate ''''''<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2012.09
Description
Sets a texture coordinate at texture coordinate array. Indices are start from 1. If the texture coordinate array is not large enough, it's expanded automatically.
Mesh:setTextureCoordinate(i,u,v)
'i: (number) index '
'u: (number) u coordinate '
'v: (number) v coordinate '