Cocos Creator API

1.4.x

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

AnimationNodeBase

Extends Playable
Module: cc

The abstract interface for all playing animation.

Properties

isPlaying Boolean readOnly

Inherited from Playable:

Is playing or paused in play mode?

isPaused Boolean readOnly

Inherited from Playable:

Is currently paused? This can be true even if in edit mode(isPlaying == false).

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index

Methods

update
(
  • deltaTime
)
private

name type description
deltaTime Number

onPlay ( ) private

Inherited from Playable:

onPause ( ) private

Inherited from Playable:

onResume ( ) private

Inherited from Playable:

onStop ( ) private

Inherited from Playable:

onError
(
  • errorCode
)
private

Inherited from Playable:

name type description
errorCode string

play ( )

Inherited from Playable:

Play this animation.

stop ( )

Inherited from Playable:

Stop this animation.

pause ( )

Inherited from Playable:

Pause this animation.

resume ( )

Inherited from Playable:

Resume this animation.

step ( )

Inherited from Playable:

Perform a single frame step.

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index