Returns the shading color of the texture. For details about vertex color shading, see LayeredRegion:SetVertexColor().

Signature:

red, green, blue, alpha = Texture:GetVertexColor()

Returns:

  • red - Red component of the color (0.0 - 1.0) (number)
  • green - Green component of the color (0.0 - 1.0) (number)
  • blue - Blue component of the color (0.0 - 1.0) (number)
  • alpha - Alpha (opacity) for the texture (0.0 = fully transparent, 1.0 = fully opaque) (number)