TextureRegion:setRegion

From GiderosMobile
Revision as of 10:45, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2012.08.2

Description


Sets the coordinates of the region.

 TextureRegion:setRegion(x,y,width,height)

Parameters

x: (number) left coordinate of the region
y: (number) top coordinate of the region
width: (number) width of the region
height: (number) height of the region