IAsset
The interface extends AssetMapData for compatibility
Extends
Type parameters
• T
Properties
assetName
readonly
assetName:string
The name of the asset file.
Overrides
Source
assetPath
readonly
assetPath:string
Path to the asset
Overrides
Source
assetType
assetType:
AssetType
The type of the asset file.
Inherited from
Source
data
data:
any
Inherited from
Source
resolutionSuffix
resolutionSuffix:
string
If resolution suffix is set the asset is loaded only on devices with the matched asset resolution
Overrides
Source
Methods
destroy()
destroy():
void
Returns
void
Overrides
Source
getAsset()
getAsset():
T
Returns
T
Source
getLoaderOptions()
getLoaderOptions():
undefined
|Partial
<any
>
Returns
undefined
| Partial
<any
>
Overrides
Source
getResource()
getResource():
any
Returns
any
Inherited from
Source
isLoaded()
isLoaded():
boolean
Returns
boolean