render.ReadPixel

From Garry's Mod
Jump to: navigation, search
 render.ReadPixel( )

Contents

Description

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

Arguments

number x

The x coordinate.

Arguments

number y

The y coordinate.

Returns

number

r

Returns

number

g

Returns

number

b
Personal tools
Navigation