Garry's Mod Wiki

Garry's Mod Wiki

  table, number, number DRGBPicker:GetPosColor( number x, number y )

Description

This is used internally - although you're able to use it you probably shouldn't.

Returns the color at given position on the internal texture.

Arguments

1 number x
The X coordinate on the texture to get the color from
2 number y
The Y coordinate on the texture to get the color from

Returns

2 number
The X-coordinate clamped to the texture's width.
3 number
The Y-coordinate clamped to the texture's height.

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...