Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
animation
AnimationManager
Class AnimationManager
Hierarchy
System
AnimationManager
Implements
ISchedulable
Index
Properties
_anims
_blend
State
_cross
Fades
delay
Events
_execute
InEdit
Mode
_id
_priority
ID
Accessors
blend
State
id
priority
Methods
add
Animation
add
Cross
Fade
destruct
init
post
Update
push
Delay
Event
remove
Animation
remove
Cross
Fade
update
sort
ByPriority
Properties
Private
_anims
_anims
:
MutableForwardIterator
<
AnimationState
>
= new MutableForwardIterator<AnimationState>([])
Private
_blend
State
_blend
State
:
AnimationBlendState
= new AnimationBlendState()
Private
_cross
Fades
_cross
Fades
:
CrossFade
[]
= []
Private
delay
Events
delay
Events
:
Array
<
object
>
= []
Protected
_execute
InEdit
Mode
_execute
InEdit
Mode
:
boolean
= false
Protected
_id
_id
:
string
= ""
Protected
_priority
_priority
:
number
= 0
Static
ID
ID
:
string
= "animation"
Accessors
blend
State
get
blendState
(
)
:
AnimationBlendState
Returns
AnimationBlendState
id
get
id
(
)
:
string
set
id
(
id
:
string
)
:
void
Returns
string
Parameters
id:
string
Returns
void
priority
get
priority
(
)
:
number
set
priority
(
value
:
number
)
:
void
Returns
number
Parameters
value:
number
Returns
void
Methods
add
Animation
add
Animation
(
anim
:
AnimationState
)
:
void
Parameters
anim:
AnimationState
Returns
void
add
Cross
Fade
add
Cross
Fade
(
crossFade
:
CrossFade
)
:
void
Parameters
crossFade:
CrossFade
Returns
void
destruct
destruct
(
)
:
void
Returns
void
init
init
(
)
:
void
Returns
void
post
Update
post
Update
(
dt
:
number
)
:
void
Parameters
dt:
number
Returns
void
push
Delay
Event
push
Delay
Event
(
target
:
Node
, func
:
string
, args
:
any
[]
)
:
void
Parameters
target:
Node
func:
string
args:
any
[]
Returns
void
remove
Animation
remove
Animation
(
anim
:
AnimationState
)
:
void
Parameters
anim:
AnimationState
Returns
void
remove
Cross
Fade
remove
Cross
Fade
(
crossFade
:
CrossFade
)
:
void
Parameters
crossFade:
CrossFade
Returns
void
update
update
(
dt
:
number
)
:
void
Parameters
dt:
number
Returns
void
Static
sort
ByPriority
sort
ByPriority
(
a
:
System
, b
:
System
)
:
1
|
0
|
-1
Parameters
a:
System
b:
System
Returns
1
|
0
|
-1
Globals
animation
Animation
Manager
_anims
_blend
State
_cross
Fades
delay
Events
_execute
InEdit
Mode
_id
_priority
ID
blend
State
id
priority
add
Animation
add
Cross
Fade
destruct
init
post
Update
push
Delay
Event
remove
Animation
remove
Cross
Fade
update
sort
ByPriority
Generated using
TypeDoc