Garry's Mod Wiki

Garry's Mod Wiki

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
The red channel value.
2 number g
The green channel value.
3 number b
The blue channel value.
4 number a
The alpha channel value or no value if the render target has no alpha channel.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...