cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
类 - 图1 类 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

| 函数

AnimationStateData.h 文件参考

#include

#include

##
struct spAnimationStateData
## 函数
spAnimationStateData spAnimationStateData_create (spSkeletonData skeletonData)
void spAnimationStateData_dispose (spAnimationStateData self)
void spAnimationStateData_setMixByName (spAnimationStateData self, const char fromName, const char toName, float duration)
void spAnimationStateData_setMix (spAnimationStateData self, spAnimation from, spAnimation to, float duration)
float spAnimationStateData_getMix (spAnimationStateData self, spAnimation from, spAnimation to)

函数说明

spAnimationStateData spAnimationStateData_create ( spSkeletonData skeletonData)

void spAnimationStateData_dispose ( spAnimationStateData * self)

float spAnimationStateData_getMix ( spAnimationStateData self,
spAnimation from,
spAnimation * to
)

void spAnimationStateData_setMix ( spAnimationStateData self,
spAnimation from,
spAnimation * to,
float duration
)

void spAnimationStateData_setMixByName ( spAnimationStateData self,
const char fromName,
const char * toName,
float duration
)