Difference between revisions of "TexturePack:getTextureRegion"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the texture region of texture pack.<br /> <br /> <source lang="lua"> (TextureRegion), =...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(TextureRegion), = TexturePack:getTextureRegion(texturename,)
+
(TextureRegion) = TexturePack:getTextureRegion(texturename)
 
</source>
 
</source>
'''texturename:''' (string)  ''''''<br/>
+
'''texturename''': (string)  ''''''<br/>
 
'''Returns''' (TextureRegion) TextureRegion by specified name<br/>
 
'''Returns''' (TextureRegion) TextureRegion by specified name<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the texture region of texture pack.

(TextureRegion) = TexturePack:getTextureRegion(texturename)

'texturename: (string) '
Returns (TextureRegion) TextureRegion by specified name