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
Playable
Class Playable
Hierarchy
Playable
AnimationState
CrossFade
Index
Properties
_is
Paused
_is
Playing
_step
Once
Accessors
is
Paused
is
Playing
Methods
on
Error
on
Pause
on
Play
on
Resume
on
Stop
pause
play
resume
step
stop
update
Properties
Private
_is
Paused
_is
Paused
:
boolean
= false
Private
_is
Playing
_is
Playing
:
boolean
= false
Private
_step
Once
_step
Once
:
boolean
= false
Accessors
is
Paused
get
isPaused
(
)
:
boolean
当前是否正在暂停。
default
false
Returns
boolean
is
Playing
get
isPlaying
(
)
:
boolean
当前是否正在播放。
default
false
Returns
boolean
Methods
Protected
on
Error
on
Error
(
message
:
string
)
:
void
Parameters
message:
string
Returns
void
Protected
on
Pause
on
Pause
(
)
:
void
Returns
void
Protected
on
Play
on
Play
(
)
:
void
Returns
void
Protected
on
Resume
on
Resume
(
)
:
void
Returns
void
Protected
on
Stop
on
Stop
(
)
:
void
Returns
void
pause
pause
(
)
:
void
暂停动画。
Returns
void
play
play
(
)
:
void
播放动画。
Returns
void
resume
resume
(
)
:
void
重新播放动画。
Returns
void
step
step
(
)
:
void
执行一帧动画。
Returns
void
stop
stop
(
)
:
void
停止动画播放。
Returns
void
update
update
(
deltaTime
:
number
)
:
void
Parameters
deltaTime:
number
Returns
void
Globals
animation
Playable
_is
Paused
_is
Playing
_step
Once
is
Paused
is
Playing
on
Error
on
Pause
on
Play
on
Resume
on
Stop
pause
play
resume
step
stop
update
Generated using
TypeDoc
当前是否正在暂停。
false