Table of Contents

Mesh:getColor

Available since version: Gideros 2013.06

Description:

Returns color and alpha of the i-th element from color array

Syntax:

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

Parameters:

  • i: (number) index

Return value:

  • number: color
  • number: normalizes alpha (0-1)