TexturePack:getRegionsNames: Difference between revisions

From GiderosMobile
No edit summary
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.
<source lang="lua">
<syntaxhighlight lang="lua">
(table) = TexturePack:getRegionsNames(texturename)
(table) = TexturePack:getRegionsNames(texturename)
</source>
</source>

Revision as of 13: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