Garry's Mod Wiki

render.ReadPixel

number, number, number render.ReadPixel( number x, number y )

Description

Reads the color of the specified pixel from the RenderTarget sent by render.CapturePixels

Arguments

1 number x
The x coordinate.
2 number y
The y coordinate.

Returns

1 number
r
2 number
g
3 number
b

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 5
Generate Html 7
SaveChanges (1) 11
Render Body 0
Render Sidebar 6