SpineAsset
The interface extends AssetMapData for compatibility
Extends
Implements
IAsset
<ISkeletonData
>
Constructors
new SpineAsset()
new SpineAsset(
assetName
,assetPathOrType
?,atlasPathOrName
?):SpineAsset
Parameters
• assetName: string
• assetPathOrType?: string
| SPINE_JSON
| SPINE_SKEL
• atlasPathOrName?: string
Returns
Overrides
Source
src/load/assets/SpineAsset.ts:9
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
atlasPath?
optional
readonly
atlasPath:string
Source
src/load/assets/SpineAsset.ts:7
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():
ISkeletonData
<IBoneData
,ISlotData
,ISkin
,IAnimation
<ITimeline
>,IEventData
,IIkConstraintData
,ITransformConstraintData
,IPathConstraintData
>
Returns
ISkeletonData
<IBoneData
, ISlotData
, ISkin
, IAnimation
<ITimeline
>, IEventData
, IIkConstraintData
, ITransformConstraintData
, IPathConstraintData
>
Implementation of
Source
src/load/assets/SpineAsset.ts:21
getLoaderOptions()
getLoaderOptions():
undefined
|Partial
<any
>
Returns
undefined
| Partial
<any
>
Implementation of
Overrides
Source
src/load/assets/SpineAsset.ts:25
getResource()
getResource():
any
Returns
any
Implementation of
Inherited from
Source
isLoaded()
isLoaded():
boolean
Returns
boolean