| cocos2d-x 3.0 |
)- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
BoneData类 参考
BoneData used to init a Bone. 更多…
#include
类 BoneData 继承关系图:
| ## Public 成员函数 | |
| BoneData (void) | |
| ctor 更多… | |
| ~BoneData (void) | |
| NA NA 更多… | |
| virtual bool | init () |
| void | addDisplayData (DisplayData displayData) |
| DisplayData | getDisplayData (int index) |
Public 成员函数 继承自 BaseData | |
| BaseData () | |
| ctor 更多… | |
| ~BaseData (void) | |
| NA NA 更多… | |
| virtual void | copy (const BaseData node) |
| virtual void | subtract (BaseData from, BaseData to, bool limit) |
| virtual void | setColor (const cocos2d::Color4B &color) |
| virtual cocos2d::Color4B | getColor () |
Public 成员函数 继承自 Ref | |
| void | retain () |
| 保留所有权. 更多… | |
| void | release () |
| 立即释放所有权. 更多… | |
| Ref | autorelease () |
| 自动释放所有权在不久的将来. 更多… | |
| unsigned int | getReferenceCount () const |
| 返回Ref对象当前的引用计数. 更多… | |
| virtual | ~Ref () |
| NA NA 更多… | |
| ## 静态 Public 成员函数 | |
| static BoneData | create (void) |
静态 Public 成员函数 继承自 BaseData | |
| static BaseData | create (void) |
| ## Public 属性 | |
| std::string | name |
| std::string | parentName |
| the bone's name 更多… | |
| cocos2d::Vector< DisplayData * > | displayDataList |
| the bone parent's name 更多… | |
| cocos2d::AffineTransform | boneDataTransform |
| save DisplayData informations for the Bone 更多… | |
Public 属性 继承自 BaseData | |
| float | x |
| float | y |
| position x attribute 更多… | |
| int | zOrder |
| position y attribute 更多… | |
| float | skewX |
| zorder attribute, used to order the Bone's depth order 更多… | |
| float | skewY |
| float | scaleX |
| float | scaleY |
| float | tweenRotate |
| bool | isUseColorInfo |
| SkewX, SkewY, and TweenRotate effect the rotation. 更多… | |
| int | a |
| Whether or not this frame have the color changed Info. 更多… | |
| int | r |
| int | g |
| int | b |
| ## 额外继承的成员函数 | |
Protected 成员函数 继承自 Ref | |
| Ref () | |
| 构造函数 更多… | |
Protected 属性 继承自 Ref | |
| unsigned int | _referenceCount |
| 引用计数 更多… | |
详细描述
BoneData keeps a DisplayData list, a Bone can have many display to change. The display information saved in the DisplayData NA NA
构造及析构函数说明
| BoneData | ( | void | ) |
ctor
| ~BoneData | ( | void | ) |
NA NA
成员函数说明
| void addDisplayData | ( | DisplayData * | displayData | ) |
| inlinestatic |
| DisplayData* getDisplayData | ( | int | index | ) |
| virtual |
类成员变量说明
| cocos2d::AffineTransform boneDataTransform |
save DisplayData informations for the Bone
| cocos2d::Vector<DisplayData*> displayDataList |
the bone parent's name
| std::string name |
| std::string parentName |
the bone's name
该类的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/editor-support/cocostudio/CCDatas.h
- cocostudio
- BoneData
- 生成于 2014年 五月 29日 星期四 09:41:59 , 为 cocos2d-x使用
1.8.6
Public 成员函数 继承自 