AssetMapAudioData
Stores audio specific data used to load and unload assets.
Extends
Constructors
new AssetMapAudioData()
new AssetMapAudioData(
pName
,pAssetType
,pCategory
):AssetMapAudioData
Parameters
• pName: string
• pAssetType: AssetType
• pCategory: string
Returns
Overrides
Source
src/load/AssetMapAudioData.ts:21
Properties
assetName
assetName:
string
The name of the asset file.
Inherited from
Source
assetPath
assetPath:
string
=''
Path to the asset
Inherited from
Source
assetType
assetType:
AssetType
The type of the asset file.
Inherited from
Source
category
category:
string
The category to add this audio asset to.
Source
src/load/AssetMapAudioData.ts:13
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
Inherited from
Source
Methods
destroy()
destroy():
void
Returns
void
Inherited from
Source
getLoaderOptions()
getLoaderOptions():
undefined
|Partial
<any
>
Returns
undefined
| Partial
<any
>
Inherited from
Source
getResource()
getResource():
any
Returns
any
Inherited from
Source
isLoaded()
isLoaded():
boolean
Returns
boolean