Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.render.readPixel

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.readPixel(x, y)
View on GitHub|lua/starfall/libs_cl/render.lua:2368
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Reads the color of the specified pixel.

Parameters

NameTypeDescription
xnumberPixel x-coordinate.
ynumberPixel y-coordinate.

Returns

TypeDescription
ColorColor object with ( r, g, b, a ) from the specified pixel.

Examples

No examples available.

Used In

No usages found in the codebase.