Difference between revisions of "TexturePack:getRegionsNames"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns a list of all texture names in this pack. | Returns a list of all texture names in this pack. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(table) = TexturePack:getRegionsNames(texturename) | (table) = TexturePack:getRegionsNames(texturename) | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2021.9
Class: TexturePack
Description
Returns a list of all texture names in this pack. <syntaxhighlight lang="lua"> (table) = TexturePack:getRegionsNames(texturename) </source>
Parameters
texturename: (string) texture path
Return values
Returns (table) list of texture names in this pack