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

