Cocos Creator API

1.0.0

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

AnimationState

Module: cc

The AnimationState gives full control over animation playback process. In most cases the Animation Component is sufficient and easier to use. Use the AnimationState if you need full control.

Properties

clip AnimationClip readOnly

The clip that is being played by this animation state.

name String readOnly

The name of the playing animation.

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

AnimationState
(
  • clip
  • [name ]
)
AnimationState

name type description
clip AnimationClip
name optional String

returns:

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