Class: SpineResource
Loader resource base type. Specialized XhrLoader
classes can create resources derived from the
base type. If no specialized loader is found a generic resource is created with the data
from
the xhr.LoadSuccess
response.
Not to be confused with the Resource
definition used to load resources, this one represents a
fully loaded resource returned with get
.
Hierarchy
-
↳
SpineResource
Constructors
constructor
• new SpineResource(data
, skeletonData
, textureAtlas
): SpineResource
Parameters
Name | Type |
---|---|
data |
any |
skeletonData |
SkeletonData |
textureAtlas |
TextureAtlas |
Returns
Overrides
Properties
data
• data: any
Inherited from
skeletonData
• skeletonData: SkeletonData
textureAtlas
• textureAtlas: TextureAtlas
Methods
destroy
▸ destroy(): void
Returns
void