Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
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
dragonBones
ArmatureCache
Class ArmatureCache
Hierarchy
ArmatureCache
Index
Constructors
constructor
Properties
_animation
Pool
_armature
Cache
_private
Mode
Frame
Time
shared
Cache
Methods
remove
Armature
dispose
enable
Private
Mode
get
Animation
Cache
get
Armature
Cache
init
Animation
Cache
invalid
Animation
Cache
reset
Armature
update
Animation
Cache
can
Cache
Constructors
constructor
new
Armature
Cache
(
)
:
ArmatureCache
Returns
ArmatureCache
Properties
Protected
_animation
Pool
_animation
Pool
:
Record
<
string
,
AnimationCache
>
Protected
_armature
Cache
_armature
Cache
:
Record
<
string
,
ArmatureInfo
>
Protected
_private
Mode
_private
Mode
:
boolean
= false
Static
Frame
Time
Frame
Time
:
number
= FrameTime
Static
shared
Cache
shared
Cache
:
ArmatureCache
= new ArmatureCache()
Methods
remove
Armature
remove
Armature
(
armatureKey
:
string
)
:
void
Parameters
armatureKey:
string
Returns
void
dispose
dispose
(
)
:
void
Returns
void
enable
Private
Mode
enable
Private
Mode
(
)
:
void
Returns
void
get
Animation
Cache
get
Animation
Cache
(
armatureKey
:
any
, animationName
:
any
)
:
null
|
AnimationCache
Parameters
armatureKey:
any
animationName:
any
Returns
null
|
AnimationCache
get
Armature
Cache
get
Armature
Cache
(
armatureName
:
string
, armatureKey
:
string
, atlasUUID
:
string
)
:
null
|
Armature
Parameters
armatureName:
string
armatureKey:
string
atlasUUID:
string
Returns
null
|
Armature
init
Animation
Cache
init
Animation
Cache
(
armatureKey
:
string
, animationName
:
string
)
:
null
|
AnimationCache
Parameters
armatureKey:
string
animationName:
string
Returns
null
|
AnimationCache
invalid
Animation
Cache
invalid
Animation
Cache
(
armatureKey
:
string
)
:
void
Parameters
armatureKey:
string
Returns
void
reset
Armature
reset
Armature
(
uuid
:
string
)
:
void
Parameters
uuid:
string
Returns
void
update
Animation
Cache
update
Animation
Cache
(
armatureKey
:
string
, animationName
:
string
)
:
void
Parameters
armatureKey:
string
animationName:
string
Returns
void
Static
can
Cache
can
Cache
(
armature
:
Armature
)
:
boolean
Parameters
armature:
Armature
Returns
boolean
Globals
dragon
Bones
Armature
Cache
constructor
_animation
Pool
_armature
Cache
_private
Mode
Frame
Time
shared
Cache
remove
Armature
dispose
enable
Private
Mode
get
Animation
Cache
get
Armature
Cache
init
Animation
Cache
invalid
Animation
Cache
reset
Armature
update
Animation
Cache
can
Cache
Generated using
TypeDoc