Table of Contents

Mesh:getTextureCoordinate

Available since version: Gideros 2013.06

Description:

Returns u and v coordinate of the i-th element from texture coordinate array

Syntax:

(number), (number) = Mesh:getTextureCoordinate(i)

Parameters:

  • i: (number) index

Return value:

  • number: u coordinate
  • number: v cordinate