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: 53ms

DB GetPage 36
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 6