Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
spine
SkeletonCache
Class SkeletonCache
Hierarchy
SkeletonCache
Index
Constructors
constructor
Properties
animation
Pool
_private
Mode
skeleton
Cache
Frame
Time
shared
Cache
Methods
clear
enable
Private
Mode
get
Animation
Cache
get
Skeleton
Cache
init
Animation
Cache
invalid
Animation
Cache
remove
Skeleton
update
Animation
Cache
Constructors
constructor
new
Skeleton
Cache
(
)
:
SkeletonCache
Returns
SkeletonCache
Properties
Protected
animation
Pool
animation
Pool
:
{}
Type declaration
[
key:
string
]:
AnimationCache
Protected
_private
Mode
_private
Mode
:
boolean
Protected
skeleton
Cache
skeleton
Cache
:
{}
Type declaration
[
key:
string
]:
SkeletonCacheItemInfo
Static
Readonly
Frame
Time
Frame
Time
:
number
= FrameTime
Static
shared
Cache
shared
Cache
:
SkeletonCache
= new SkeletonCache()
Methods
clear
clear
(
)
:
void
Returns
void
enable
Private
Mode
enable
Private
Mode
(
)
:
void
Returns
void
get
Animation
Cache
get
Animation
Cache
(
uuid
:
string
, animationName
:
string
)
:
null
|
AnimationCache
Parameters
uuid:
string
animationName:
string
Returns
null
|
AnimationCache
get
Skeleton
Cache
get
Skeleton
Cache
(
uuid
:
string
, skeletonData
:
SkeletonData
)
:
SkeletonCacheItemInfo
Parameters
uuid:
string
skeletonData:
SkeletonData
Returns
SkeletonCacheItemInfo
init
Animation
Cache
init
Animation
Cache
(
uuid
:
string
, animationName
:
string
)
:
null
|
AnimationCache
Parameters
uuid:
string
animationName:
string
Returns
null
|
AnimationCache
invalid
Animation
Cache
invalid
Animation
Cache
(
uuid
:
string
)
:
void
Parameters
uuid:
string
Returns
void
remove
Skeleton
remove
Skeleton
(
uuid
:
string
)
:
void
Parameters
uuid:
string
Returns
void
update
Animation
Cache
update
Animation
Cache
(
uuid
:
string
, animationName
:
string
)
:
null
|
void
Parameters
uuid:
string
animationName:
string
Returns
null
|
void
Globals
spine
Skeleton
Cache
constructor
animation
Pool
_private
Mode
skeleton
Cache
Frame
Time
shared
Cache
clear
enable
Private
Mode
get
Animation
Cache
get
Skeleton
Cache
init
Animation
Cache
invalid
Animation
Cache
remove
Skeleton
update
Animation
Cache
Generated using
TypeDoc