Region:GetVertexColor

From Warcraft Wiki
Jump to navigation Jump to search

Returns the vertex color shading of the region.

colorR, colorG, colorB, colorA = Region:GetVertexColor()

Returns

colorR
number [0.0 - 1.0] - Red component
colorG
number [0.0 - 1.0] - Green component
colorB
number [0.0 - 1.0] - Blue component
colorA
number [0.0 - 1.0] - Alpha (opacity) of the texture