Class ccs.AnimationData
ccs.AnimationData
- Defined in: CCDatas.js
- Extends ccs.Class
Constructor Attributes | Constructor Name and Description |
---|---|
The animation data information of Cocos Armature. |
Method Summary
Class Detail
ccs.AnimationData()
The animation data information of Cocos Armature. It include all movement information for the Armature.
The struct is AnimationData -> MovementData -> MovementBoneData -> FrameData
-> MovementFrameData
Method Detail
-
addMovement(moveData)adds movement data to the movement data dictionary
- Parameters:
- {ccs.MovementData} moveData
-
{ccs.MovementData} getMovement(moveName)gets movement data from movement data dictionary
- Parameters:
- {String} moveName
- Returns:
- {ccs.MovementData}
-
{Number} getMovementCount()gets the count of movement data dictionary
- Returns:
- {Number}