TextureAtlasAsset
The interface extends AssetMapData for compatibility
Extends
Implements
IAsset
<object
>
Constructors
new TextureAtlasAsset()
new TextureAtlasAsset(
assetName
,assetPath
?):TextureAtlasAsset
Parameters
• assetName: string
• assetPath?: string
Returns
Overrides
Source
src/load/assets/TextureAtlasAsset.ts:7
Properties
assetName
assetName:
string
The name of the asset file.
Implementation of
Inherited from
Source
assetPath
assetPath:
string
=''
Path to the asset
Implementation of
Inherited from
Source
assetType
assetType:
AssetType
The type of the asset file.
Implementation of
Inherited from
Source
data
data:
any
Implementation of
Inherited from
Source
resolutionSuffix
resolutionSuffix:
string
=''
If resolution suffix is set the asset is loaded only on devices with the matched asset resolution
Implementation of
Inherited from
Source
Methods
destroy()
destroy():
void
Returns
void
Implementation of
Inherited from
Source
getAsset()
getAsset():
object
Returns
object
Implementation of
Source
src/load/assets/TextureAtlasAsset.ts:14
getLoaderOptions()
getLoaderOptions():
undefined
|Partial
<any
>
Returns
undefined
| Partial
<any
>
Implementation of
Inherited from
Source
getResource()
getResource():
any
Returns
any
Implementation of
Inherited from
Source
isLoaded()
isLoaded():
boolean
Returns
boolean