Table of Contents

Mesh:getVertex

Available since version: Gideros 2013.06

Description:

Returns x and y coordinate of the i-th element from vertex array

Syntax:

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

Parameters:

  • i: (number) index

Return value:

  • number: x coordinate of vertex
  • number: y coordinate of vertex