Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 207ms

DB GetPage 45
Generate Html 9
SaveChanges (1) 138
Render Body 0
Render Sidebar 12