Playable 类型

模块: cc

索引

属性(properties)
  • isPlaying Boolean 当前是否正在播放。
  • isPaused Boolean 当前是否正在暂停
方法

Details

属性(properties)

isPlaying

当前是否正在播放。

meta description
类型 Boolean
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:18
isPaused

当前是否正在暂停

meta description
类型 Boolean
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:30

方法

onPlay
meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:45
onPause
meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:50
onResume
meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:55
onStop
meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:60
onError
meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:65
参数列表
play

播放动画。

meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:74
stop

停止动画播放。

meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:95
pause

暂停动画。

meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:110
resume

重新播放动画。

meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:122
step

执行一帧动画。

meta description
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/animation/playable.js:134

条与 "" 相匹配的结果

    没有与 "" 匹配的结果