TextureRegion: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
The `TextureRegion` class specifies a texture and a rectangular region in it. It is used to define independent texture regions<br /> | The `TextureRegion` class specifies a texture and a rectangular region in it. It is used to define independent texture regions<br /> | ||
within a texture atlas which is a large image, which contains many smaller sub-images.<br /> | within a texture atlas which is a large image, which contains many smaller sub-images.<br /> | ||
<br />{|- | <br /> | ||
{|- | |||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
Revision as of 09:02, 23 August 2018
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.
MethodsTextureRegion.new - creates a new TextureRegion object |
EventsConstants |