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/>
'''<translate>Available since</translate>:''' Gideros 2021.9<br/>
+
'''Class:''' [[TexturePack]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/TexturePack|TexturePack]]<br/>
 
  
 
=== Description ===
 
=== Description ===
 
Returns a list of all texture names in this pack.
 
Returns a list of all texture names in this pack.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(table) = TexturePack:getRegionsNames(texturename)
 
(table) = TexturePack:getRegionsNames(texturename)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
'''texturename''': (string) <translate></translate> <br/>
+
'''texturename''': (string) texture path<br/>
  
=== <translate>Return values</translate> ===
+
=== Return values ===
'''<translate>Returns</translate>''' (table) <translate>List of texture names in this pack</translate><br/>
+
'''Returns''' (table) list of texture names in this pack<br/>
  
 
{{TexturePack}}
 
{{TexturePack}}

Latest revision as of 15: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