Garry's Mod Wiki

DRGBPicker:GetPosColor

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.

Page Links


Special Pages


Wikis

?

Render Time: 46ms

Session 0
DB GetPage 2
Generate Html 18
SaveChanges 11
Render Body 0
Render Sidebar 12