RenderTarget:getPixel

From GiderosMobile
Revision as of 07:28, 24 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2016.06

Description

Returns single pixels color and alpha channel

(number), (number) = RenderTarget:getPixel(x,y)

Parameters

x: (number) x coordinate of pixel
y: (number) y coordinate of pixel

Return values

Returns (number) color in hex
Returns (number) alpha value from 0 to 1