| cocos2d-x 3.0 |
)- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
ActionFrame类 参考
NA NA 更多…
#include
类 ActionFrame 继承关系图:
| ## Public 成员函数 | |
| ActionFrame () | |
| 默认构造函数 更多… | |
| virtual | ~ActionFrame () |
| 默认析构函数 更多… | |
| void | setFrameIndex (int index) |
| 改变动作帧的索引值 更多… | |
| int | getFrameIndex () |
| 获取动作帧的索引值 更多… | |
| void | setFrameTime (float fTime) |
| 改变动作帧的时间 更多… | |
| float | getFrameTime () |
| 获取动作帧的时间 更多… | |
| void | setFrameType (int frameType) |
| 改变动作帧的类型 更多… | |
| int | getFrameType () |
| 获取动作帧的类型 更多… | |
| void | setEasingType (int easingType) |
| 更改移除类型 更多… | |
| int | getEasingType () |
| 获取移除类型 更多… | |
| virtual cocos2d::ActionInterval | getAction (float duration) |
| 获取ActionFrame的ActionInterval 更多… | |
| virtual cocos2d::ActionInterval | getAction (float duration, ActionFrame srcFrame) |
| 获取ActionFrame的ActionInterval 更多… | |
| virtual void | setEasingParameter (std::vector< float > ¶meter) |
| 设置ActionInterval的移除参数. 更多… | |
Public 成员函数 继承自 Ref | |
| void | retain () |
| 保留所有权. 更多… | |
| void | release () |
| 立即释放所有权. 更多… | |
| Ref | autorelease () |
| 自动释放所有权在不久的将来. 更多… | |
| unsigned int | getReferenceCount () const |
| 返回Ref对象当前的引用计数. 更多… | |
| virtual | ~Ref () |
| NA NA 更多… | |
| ## Protected 成员函数 | |
| virtual cocos2d::ActionInterval | getEasingAction (cocos2d::ActionInterval action) |
| 获取ActionFrame的移除动作 更多… | |
Protected 成员函数 继承自 Ref | |
| Ref () | |
| 构造函数 更多… | |
| ## Protected 属性 | |
| int | _frameType |
| int | _frameIndex |
| float | _fTime |
| FrameEaseType | _easingType |
| std::vector< float > | _Parameter |
Protected 属性 继承自 Ref | |
| unsigned int | _referenceCount |
| 引用计数 更多… | |
详细描述
NA NA
构造及析构函数说明
| ActionFrame | ( | ) |
默认构造函数
| virtual |
默认析构函数
成员函数说明
| virtual |
获取ActionFrame的ActionInterval
duration ActionFrame的时间间隔
- 返回
- ActionInterval
被 ActionTintFrame, ActionFadeFrame, ActionRotationFrame, ActionScaleFrame , 以及 ActionMoveFrame 重载.
| virtual |
获取ActionFrame的ActionInterval
duration ActionFrame的时间间隔
srcFrame 源ActionFrame
- 返回
- ActionInterval
被 ActionRotationFrame 重载.
| protectedvirtual |
获取ActionFrame的移除动作
action ActionFrame的时间周期
- 返回
- ActionInterval
| int getEasingType | ( | ) |
获取移除类型
- 返回
- 移除类型
| int getFrameIndex | ( | ) |
获取动作帧的索引值
- 返回
- 动作帧的索引
| float getFrameTime | ( | ) |
获取动作帧的时间
- 返回
- fTime 动作帧的时间
| int getFrameType | ( | ) |
获取动作帧的类型
- 返回
- 动作帧的类型
| virtual |
设置ActionInterval的移除参数.
parameter 移除参数
| void setEasingType | ( | int | easingType | ) |
更改移除类型
- 参数
easingType移除类型
| void setFrameIndex | ( | int | index | ) |
改变动作帧的索引值
- 参数
index动作帧的索引值
| void setFrameTime | ( | float | fTime | ) |
改变动作帧的时间
- 参数
fTime动画帧的时间
| void setFrameType | ( | int | frameType | ) |
改变动作帧的类型
- 参数
frameType动作帧的类型
类成员变量说明
| protected |
| protected |
| protected |
| protected |
| protected |
该类的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/editor-support/cocostudio/CCActionFrame.h
- cocostudio
- ActionFrame
- 生成于 2014年 五月 29日 星期四 09:41:59 , 为 cocos2d-x使用
1.8.6
Public 成员函数 继承自 