cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
Public 成员函数 - 图1 Public 成员函数 - 图2)
- 类列表 - 类索引 - 类继承关系 - 类成员

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

Public 成员函数 | Protected 属性 | 所有成员列表

ActionTintFrame类 参考

NA NA 更多…

#include

类 ActionTintFrame 继承关系图:

Public 成员函数 - 图3 ActionFrame Ref

## Public 成员函数
ActionTintFrame ()
默认构造函数 更多…
virtual ~ActionTintFrame ()
默认析构函数 更多…
void setColor (cocos2d::Color3B ccolor)
改变tint动作的颜色 更多…
cocos2d::Color3B getColor ()
获取tint动作的颜色 更多…
virtual cocos2d::ActionInterval getAction (float duration)
获取ActionFrame的ActionInterval 更多…
- Public 成员函数 继承自 ActionFrame
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 srcFrame)
获取ActionFrame的ActionInterval 更多…
virtual void setEasingParameter (std::vector< float > &parameter)
设置ActionInterval的移除参数. 更多…
- Public 成员函数 继承自 Ref
void retain ()
保留所有权. 更多…
void release ()
立即释放所有权. 更多…
Ref autorelease ()
自动释放所有权在不久的将来. 更多…
unsigned int getReferenceCount () const
返回Ref对象当前的引用计数. 更多…
virtual ~Ref ()
NA NA 更多…
## Protected 属性
cocos2d::Color3B _color
- Protected 属性 继承自 ActionFrame
int _frameType
int _frameIndex
float _fTime
FrameEaseType _easingType
std::vector< float > _Parameter
- Protected 属性 继承自 Ref
unsigned int _referenceCount
引用计数 更多…
## 额外继承的成员函数
- Protected 成员函数 继承自 ActionFrame
virtual cocos2d::ActionInterval getEasingAction (cocos2d::ActionInterval action)
获取ActionFrame的移除动作 更多…
- Protected 成员函数 继承自 Ref
Ref ()
构造函数 更多…

详细描述

NA NA

构造及析构函数说明

ActionTintFrame ( )

默认构造函数

virtual ~ActionTintFrame ( )

virtual

默认析构函数

成员函数说明

virtual cocos2d::ActionInterval* getAction ( float duration)

virtual

获取ActionFrame的ActionInterval

duration ActionFrame的持续时间

  • 返回
  • ActionInterval

重载 ActionFrame .

cocos2d::Color3B getColor ( )

获取tint动作的颜色

  • 返回
  • tint动作的颜色

void setColor ( cocos2d::Color3B ccolor)

改变tint动作的颜色

  • 参数
  • ccolortint动作的颜色

类成员变量说明

cocos2d::Color3B _color

protected


该类的文档由以下文件生成:

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/editor-support/cocostudio/CCActionFrame.h