GWEN.TextureColor

From Garry's Mod
Jump to: navigation, search
 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

table

The color of the point on the skin as a Color structure.
Personal tools
Navigation