RenderTarget:getPixel

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Returns single pixels color and alpha channel <source lang="lua"> (number) (number), = RenderTarget:g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.06

Description

Returns single pixels color and alpha channel

(number) (number), = RenderTarget:getPixel(xy,)

'x: (number) x coordinate of pixel '
'y: (number) y coordinate of pixel '
Returns (number) color in hex
Returns (number) alpha value from 0 to 1