GWEN.TextureColor
From Garry's Mod
GWEN.TextureColor( )
Contents |
Description
When used in a material skin, it returns a color value from a point in the skin image.
Arguments
number x
X position of the pixel to get the color from.
Arguments
number y
Y position of the pixel to get the color from.
Returns
The color of the point on the skin as a Color structure.