Difference between revisions of "TexturePack:getRegionsNames"
From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2021.9<br/> '''<translate>Class</translate>:''' TexturePack<br/> === Descr...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2021.9<br/> | |
− | ''' | + | '''Class:''' [[TexturePack]]<br/> |
− | ''' | ||
=== 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) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === | ||
− | '''texturename''': (string) | + | '''texturename''': (string) texture path<br/> |
− | === | + | === Return values === |
− | ''' | + | '''Returns''' (table) list of texture names in this pack<br/> |
{{TexturePack}} | {{TexturePack}} |
Latest revision as of 14:33, 13 July 2023
Available since: Gideros 2021.9
Class: TexturePack
Description
Returns a list of all texture names in this pack.
(table) = TexturePack:getRegionsNames(texturename)
Parameters
texturename: (string) texture path
Return values
Returns (table) list of texture names in this pack