AssetMapSpineData
Extends
Constructors
new AssetMapSpineData()
new AssetMapSpineData(
pName
,pAtlasName
,pAssetType
):AssetMapSpineData
Parameters
• pName: string
Spine skeleton filename, without the extension (e.g. spineboy
if your file is spineboy.json
)
• pAtlasName: string
= pName
Spine atlas filename. Defaults to the same as the skeleton (e.g. spineboy
if your files are spineboy@1x.atlas
and spineboy@2x.atlas
)
• pAssetType: SPINE_JSON
| SPINE_SKEL
= AssetType.SPINE_JSON
Json or binary (*.skel) format of spine skeleton data
Returns
Overrides
Source
src/load/AssetMapSpineData.ts:16
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
atlas
readonly
atlas:string
Source
src/load/AssetMapSpineData.ts:8
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
>
Overrides
Source
src/load/AssetMapSpineData.ts:25
getResource()
getResource():
any
Returns
any
Inherited from
Source
isLoaded()
isLoaded():
boolean
Returns
boolean