TextureRegion
From GiderosMobile
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The `TextureRegion` class specifies a texture and a rectangular region in it. It is used to define independent texture regions
within a texture atlas which is a large image, which contains many smaller sub-images.
{|-
| style="width: 50%;"|
Methods
TextureRegion.new - creates a new TextureRegion object
TextureRegion.new -
TextureRegion:getRegion - returns the coordinates of the region
TextureRegion:getScale - returns the scale ratio of the underlying atlas
TextureRegion:setRegion - sets the coordinates of the region
| style="width: 50%;"|
Events
Constants
|}