Garry's Mod Wiki

Garry's Mod Wiki

  table GWEN.TextureColor( number x, number y )

Description

Retrieves the color from a materials texture at the provided UV coordinates

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...