| cocos2d-x 3.0 |
)- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Public 成员函数 | Public 属性 | 静态 Public 属性 | 所有成员列表
Color4B结构体 参考
RGBA color composed of 4 bytes. 更多…
#include
| ## Public 成员函数 | |
| Color4B () | |
| Color4B (GLubyte _r, GLubyte _g, GLubyte _b, GLubyte _a) | |
| Color4B (const Color3B &color) | |
| Color4B (const Color4F &color) | |
| bool | operator== (const Color4B &right) const |
| bool | operator== (const Color3B &right) const |
| bool | operator== (const Color4F &right) const |
| bool | operator!= (const Color4B &right) const |
| bool | operator!= (const Color3B &right) const |
| bool | operator!= (const Color4F &right) const |
| ## Public 属性 | |
| GLubyte | r |
| GLubyte | g |
| GLubyte | b |
| GLubyte | a |
| ## 静态 Public 属性 | |
| static const Color4B | WHITE |
| static const Color4B | YELLOW |
| static const Color4B | BLUE |
| static const Color4B | GREEN |
| static const Color4B | RED |
| static const Color4B | MAGENTA |
| static const Color4B | BLACK |
| static const Color4B | ORANGE |
| static const Color4B | GRAY |
详细描述
RGBA color composed of 4 bytes.
- 自从
- v3.0
构造及析构函数说明
| Color4B | ( | ) |
| Color4B | ( | GLubyte | _r, |
| GLubyte | _g, | ||
| GLubyte | _b, | ||
| GLubyte | _a | ||
| ) |
| explicit |
| explicit |
成员函数说明
| bool operator!= | ( | const Color4B & | right | ) | const |
| bool operator!= | ( | const Color3B & | right | ) | const |
| bool operator!= | ( | const Color4F & | right | ) | const |
| bool operator== | ( | const Color4B & | right | ) | const |
| bool operator== | ( | const Color3B & | right | ) | const |
| bool operator== | ( | const Color4F & | right | ) | const |
类成员变量说明
| GLubyte a |
| GLubyte b |
| static |
| static |
| GLubyte g |
| static |
| static |
| static |
| static |
| GLubyte r |
| static |
| static |
| static |
该结构体的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/base/ccTypes.h

