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

SFEX.render.readPixelRGBA

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.readPixelRGBA(x, y)
View on GitHub|lua/starfall/libs_cl/render.lua:2380
๐Ÿ“‹ 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
numberThe red channel value.
numberThe green channel value.
numberThe blue channel value.
numberThe alpha channel value.

Examples

No examples available.

Used In

No usages found in the codebase.