Difference between revisions of "TexturePack:getRegionsNames"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
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.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(table) = TexturePack:getRegionsNames(texturename)
 
(table) = TexturePack:getRegionsNames(texturename)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

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