Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 252ms

DB GetPage 40
Generate Html 12
SaveChanges (1) 176
Render Body 0
Render Sidebar 15