Garry's Mod Wiki

DRGBPicker:GetPosColor

DRGBPicker:GetPosColor

  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.

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 47
Generate Html 6
SaveChanges (1) 8
Render Body 0
Render Sidebar 8