Difference between revisions of "TexturePack:getRegionsNames"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(table) = TexturePack:getRegionsNames(texturename)
 
(table) = TexturePack:getRegionsNames(texturename)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

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