Garry's Mod Wiki

GWEN.TextureColor

GWEN.TextureColor

  table GWEN.TextureColor( number x, number y )

Description

When used in a material skin, it returns a color value from a point in the skin image.

Arguments

1 number x
X position of the pixel to get the color from.
2 number y
Y position of the pixel to get the color from.

Returns

1 table
The color of the point on the skin as a Color.

Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 19
Generate Html 6
SaveChanges (1) 7
Render Body 0
Render Sidebar 7