TextureRegion:getRegion

From GiderosMobile
Revision as of 10:03, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2012.08.2<br/> === Description === <br /> Returns the coordinates of the region.<br /> If transparent areas were trimmed during textur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2012.08.2

Description


Returns the coordinates of the region.
If transparent areas were trimmed during texture pack export, also reports the amount trimmed.

(number) (number) (number) (number) (number) (number) (number) (number), = TextureRegion:getRegion(baseCoordiniates,)

baseCoordiniates: (boolean) Returns values in base (@1) size optional
Returns (number) x coordinate from texture
Returns (number) y coordinate from texture
Returns (number) width of region
Returns (number) height of region
Returns (number) left trim
Returns (number) top trim
Returns (number) right trim
Returns (number) bottom trim